home *** CD-ROM | disk | FTP | other *** search
/ Microsoft Graphics Studio: Home Publishing 99 / [Microsoft Graphics Studio] Home Publishing 99 (Blue) Disk 2.iso / mhp / template / ees3137.mta / ees3137.MTA
Text File  |  1998-08-10  |  71KB  |  2,243 lines

  1. MIME-Version: 1.0
  2. Content-Type: multipart/related;
  3.     boundary="----=_NextPart_000_1609_01BDBE60.A8C0FE00";
  4.     type="multipart/alternative"
  5. X-MMEditor: 00.00.02.1994,MinSave
  6. X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
  7.  
  8. This is a multi-part message in MIME format.
  9.  
  10. ------=_NextPart_000_1609_01BDBE60.A8C0FE00
  11. Content-Type: multipart/alternative;
  12.     boundary="----=_NextPart_001_160A_01BDBE60.A8C0FE00"
  13.  
  14.  
  15. ------=_NextPart_001_160A_01BDBE60.A8C0FE00
  16. Content-Type: text/plain;
  17.     charset="iso-8859-1"
  18. Content-Transfer-Encoding: 7bit
  19.  
  20.     Your text here.
  21.           
  22.  
  23.  
  24. ------=_NextPart_001_160A_01BDBE60.A8C0FE00
  25. Content-Type: text/html;
  26.     charset="iso-8859-1"
  27. Content-Transfer-Encoding: quoted-printable
  28. Content-Location: 
  29.  
  30. <!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
  31. <HTML>
  32. <HEAD>
  33.  
  34. <META content=3D"text/html; charset=3Diso-8859-1" =
  35. http-equiv=3DContent-Type>
  36. <META content=3D"MMEditor Version 00.00.02.1994,MinSave" =
  37. name=3DGENERATOR>
  38. <STYLE id=3DDocStyleSheet>.PreCreateRule {
  39.     POSITION: absolute
  40. }
  41. .DocClientData {
  42.     LEFT: 0px; OVERFLOW: hidden; POSITION: absolute; TOP: 20px; VISIBILITY: =
  43. visible
  44. }
  45. .SoundElementsDiv {
  46.     LEFT: -3200px; POSITION: absolute; TOP: -3200px; VISIBILITY: hidden
  47. }
  48. .Sx1 {
  49.     HEIGHT: 800px; LEFT: 10px; OVERFLOW: hidden; POSITION: absolute; TOP: =
  50. 30px; VISIBILITY: hidden; WIDTH: 570px; Z-INDEX: 100
  51. }
  52. .Ix3 {
  53.     BACKGROUND-COLOR: #ffffff; BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; =
  54. BORDER-RIGHT: 0px; BORDER-TOP: 0px; LEFT: 0px; POSITION: absolute; TOP: =
  55. 0px; VISIBILITY: inherit; Z-INDEX: 51
  56. }
  57. .PD2 {
  58.     BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; BORDER-RIGHT: 0px; BORDER-TOP: =
  59. 0px; HEIGHT: 799px; LEFT: 0px; POSITION: absolute; TOP: 0px; VISIBILITY: =
  60. inherit; WIDTH: 569px; Z-INDEX: 50
  61. }
  62. .Ix5 {
  63.     BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; BORDER-RIGHT: 0px; BORDER-TOP: =
  64. 0px; LEFT: 0px; POSITION: absolute; TOP: 0px; VISIBILITY: inherit; =
  65. Z-INDEX: 101
  66. }
  67. .PI4 {
  68.     BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; BORDER-RIGHT: 0px; BORDER-TOP: =
  69. 0px; HEIGHT: 72px; LEFT: 17px; POSITION: absolute; TOP: 12px; =
  70. VISIBILITY: visible; WIDTH: 150px; Z-INDEX: 100
  71. }
  72. .Ix19 {
  73.     BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; BORDER-RIGHT: 0px; BORDER-TOP: =
  74. 0px; LEFT: 0px; POSITION: absolute; TOP: 0px; VISIBILITY: inherit; =
  75. Z-INDEX: 111
  76. }
  77. .PD18 {
  78.     BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; BORDER-RIGHT: 0px; BORDER-TOP: =
  79. 0px; HEIGHT: 684px; LEFT: 16px; POSITION: absolute; TOP: 93px; =
  80. VISIBILITY: visible; WIDTH: 533px; Z-INDEX: 110
  81. }
  82. .PT21 {
  83.     BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; BORDER-RIGHT: 0px; BORDER-TOP: =
  84. 0px; HEIGHT: 646px; LEFT: 32px; PADDING-BOTTOM: 9px; PADDING-LEFT: 9px; =
  85. PADDING-RIGHT: 9px; PADDING-TOP: 9px; POSITION: absolute; TEXT-ALIGN: =
  86. center; TOP: 101px; VISIBILITY: hidden; WIDTH: 498px; Z-INDEX: 120
  87. }
  88. .Ix27 {
  89.     BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; BORDER-RIGHT: 0px; BORDER-TOP: =
  90. 0px; LEFT: 0px; POSITION: absolute; TOP: 0px; VISIBILITY: inherit; =
  91. Z-INDEX: 131
  92. }
  93. .PI26 {
  94.     BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; BORDER-RIGHT: 0px; BORDER-TOP: =
  95. 0px; HEIGHT: 72px; LEFT: 144px; POSITION: absolute; TOP: 11px; =
  96. VISIBILITY: hidden; WIDTH: 150px; Z-INDEX: 130
  97. }
  98. .Ix29 {
  99.     BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; BORDER-RIGHT: 0px; BORDER-TOP: =
  100. 0px; LEFT: 0px; POSITION: absolute; TOP: 0px; VISIBILITY: inherit; =
  101. Z-INDEX: 141
  102. }
  103. .PI28 {
  104.     BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; BORDER-RIGHT: 0px; BORDER-TOP: =
  105. 0px; HEIGHT: 72px; LEFT: 271px; POSITION: absolute; TOP: 10px; =
  106. VISIBILITY: hidden; WIDTH: 150px; Z-INDEX: 140
  107. }
  108. .Ix31 {
  109.     BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; BORDER-RIGHT: 0px; BORDER-TOP: =
  110. 0px; LEFT: 0px; POSITION: absolute; TOP: 0px; VISIBILITY: inherit; =
  111. Z-INDEX: 151
  112. }
  113. .PI30 {
  114.     BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; BORDER-RIGHT: 0px; BORDER-TOP: =
  115. 0px; HEIGHT: 72px; LEFT: 399px; POSITION: absolute; TOP: 8px; =
  116. VISIBILITY: hidden; WIDTH: 150px; Z-INDEX: 150
  117. }
  118. DIV {
  119.     FONT-FAMILY: Times New Roman
  120. }
  121. </STYLE>
  122.  
  123. <STYLE id=3DFontStyleSheet>@font-face {
  124.     font-family: Curlz MT;
  125.     =
  126. src:url(cid:160701bdbe9b$55076c00$ed5d389d@superwonker.dns.microsoft.com)=
  127. ;
  128. }
  129. </STYLE>
  130.  
  131. </HEAD>
  132. <BODY background=3D"" bgColor=3D#c0c0c0 leftMargin=3D0 topMargin=3D0>
  133. <DIV class=3DPreCreateRule id=3DNavigationButtons style=3D"VISIBILITY: =
  134. hidden">
  135. <FORM name=3DNavigationButtonsForm><INPUT name=3DStart type=3Dbutton =
  136. value=3D"Play  >/Replay >"><INPUT name=3DBackward type=3Dbutton =
  137. value=3D"Back  <<"><INPUT name=3DForward type=3Dbutton value=3D"Forward  =
  138. >>"><INPUT name=3DWebpage type=3Dbutton value=3DAbout...><INPUT =
  139. name=3DSceneStatus type=3Dbutton value=3D" Loading... "></FORM></DIV>=20
  140. <DIV class=3DDocClientData id=3DDocClientData GW_NextID =3D 39 AOPTable =
  141. =3D=20
  142. " <AR|ARS1| <AP|APa{guid =
  143. {A3649D6E-5058-11CF-9E27-00AA00BBB8AF}}|APbGreetings Workshop|>|>|"=20
  144. ProjectType =3D "multimedia greeting" OutputStyle =3D=20
  145. "long page for longer greeting" KeyWords =3D null skuGW =3D null =
  146. skuGWDelux =3D 1=20
  147. skuOE =3D null lclEnglish =3D 1 lclZ =3D 1 lclFrench =3D null lclJ =3D =
  148. null Themes =3D=20
  149. " <AR|ARS1| =
  150. <TT|TTa5|TTb0|TTc30803|TTd5|TTe0|TTf30820|TTg5|TTh0|TTi30825|>|>|">
  151. <DIV class=3DSx1 id=3DSx1 PageEffect =3D=20
  152. " <PE| <TR|TRa0|TRb2|TRc2|TRd1|TRe2|>|PEa1|PEb5|>|" SoundPaths =3D=20
  153. " <AR|ARS1| <SN| =
  154. <CP|CPa4A00000030300000000000000C000000000000640000C1000000A384F4D45435E4=
  155. D4D4C5D41494E4C535E40303530383F5E2D4944400FFFFDAED00000000000000000000000=
  156. 0000000000000000000000000130056003300360026000300830003004200330043005300=
  157. 6600330083009300460004001600D200D60016002700660096003700E2004600E6003700E=
  158. 200D600960036002700F6003700F60066004700E2003600F600|CPbC:\mmeditor\music\=
  159. Sn00508_.mid|CPccid:00b201bdac23$c85fdb40$6e59389d@a-lingra.dns.microsoft=
  160. .com|CPdSn00508_.mid|>|SNa1|SNb0|SNc1|SNd0|SNe0|>|>|"=20
  161. PageName =3D PD2>
  162. <DIV class=3DPD2 id=3DPD2 PolyPath =3D=20
  163. 1,6,0.286361,365.725,0,799,569,799,569,0,0.286361,0,0.286361,365.725,2,16=
  164. 777215,0,=20
  165. NoBackground =3D 1><IMG class=3DIx3 id=3DIx3 name=3DIx3=20
  166. src=3D"cid:160001bdbe9b$549aee90$ed5d389d@superwonker.dns.microsoft.com">=
  167. </DIV>=20
  168. <DIV class=3DPI4 id=3DPI4 SoundPaths =3D " <AR|ARS0|>|" ClipPathInfo =3D =
  169.  
  170. " =
  171. <CP|CPa8C00000030300000000000000C00000000000064000052000000A384F4D4540525=
  172. 54D4C5D41494E4C584D4052544942523C5A403130373938303E275D46400FFFFDAED00000=
  173. 00000000000000000000000000000000000000000000060000000001E54A0F2000000FFFF=
  174. FFFF100000004400000010000000D00000009900290028004900B90000000000000020000=
  175. 0000D2254A0100000000D2254A0100000000D2254A0100000000D2254A0D2000000030000=
  176. 0024000000C000000040000000001E54A0D2000000FFFFFFFF|CPbC:\mmeditor\v3grafi=
  177. x\j0107980.wmf|CPccid:00af01bdac23$8c974a80$6e59389d@a-lingra.dns.microso=
  178. ft.com|CPdj0107980.wmf|>|"=20
  179. ImageType =3D 0><IMG class=3DIx5 height=3D72 id=3DIx5 name=3DIx5=20
  180. src=3D"cid:00af01bdac23$8c974a80$6e59389d@a-lingra.dns.microsoft.com"=20
  181. width=3D150></DIV>=20
  182. <DIV class=3DPD18 id=3DPD18 SoundPaths =3D " <AR|ARS0|>|" PolyPath =3D=20
  183. 1,6,0.26774,312.629,0,683,532,683,532,0,0.26774,0,0.26774,312.629,2,46963=
  184. 199,1,6,1,46963199,=20
  185. ButtonEvent =3D=20
  186. " <BE|BEa0|BEc| <CP|CPaNIL|CPb|CPc|CPd|>| <CP|CPaNIL|CPb|CPc|CPd|>| =
  187. <CP|CPaNIL|CPb|CPc|CPd|>|>|"=20
  188. ExitEffect =3D=20
  189. " <EE| =
  190. <TR|TRa0|TRb2|TRc2|TRd1|TRe2|>|EEa0|EEb0|EEc100|EEd0|EEf0|EEg0|>|"=20
  191. EntranceEffect =3D=20
  192. " <EE| =
  193. <TR|TRa12|TRb2|TRc2|TRd1|TRe2|>|EEa0|EEb0|EEc0|EEd100|EEf0|EEg1|>|"=20
  194. TravelEffectOptions =3D " <TE|TEa0|TEb2|TEc0|TEd0|>|" DrawType =3D =
  195. 1><IMG class=3DIx19=20
  196. id=3DIx19 name=3DIx19=20
  197. src=3D"cid:000901bda208$14ef3120$6e59389d@a-lingra.dns.microsoft.com"></D=
  198. IV>=20
  199. <DIV class=3DPT21 id=3DPT21 SoundPaths =3D " <AR|ARS0|>|" ButtonEvent =
  200. =3D=20
  201. " <BE|BEa0|BEc| <CP|CPaNIL|CPb|CPc|CPd|>| <CP|CPaNIL|CPb|CPc|CPd|>| =
  202. <CP|CPaNIL|CPb|CPc|CPd|>|>|"=20
  203. ExitEffect =3D=20
  204. " <EE| =
  205. <TR|TRa0|TRb2|TRc2|TRd1|TRe2|>|EEa0|EEb0|EEc100|EEd0|EEf0|EEg0|>|"=20
  206. EntranceEffect =3D=20
  207. " <EE| =
  208. <TR|TRa16|TRb2|TRc2|TRd1|TRe2|>|EEa1|EEb0|EEc0|EEd100|EEf1|EEg2|>|"=20
  209. TravelEffectOptions =3D " <TE|TEa0|TEb2|TEc0|TEd0|>|">
  210. <P><FONT face=3D"Curlz MT" size=3D6>Your text here.</FONT></P></DIV>=20
  211. <DIV class=3DPI26 id=3DPI26 SoundPaths =3D " <AR|ARS0|>|" ClipPathInfo =
  212. =3D=20
  213. " =
  214. <CP|CPa8C00000030300000000000000C00000000000064000052000000A384F4D4540525=
  215. 54D4C5D41494E4C584D4052544942523C5A403130373938303E275D46400FFFFDAED00000=
  216. 00000000000000000000000000000000000000000000060000000001E54A0F2000000FFFF=
  217. FFFF100000004400000010000000D00000009900290028004900B90000000000000020000=
  218. 0000D2254A0100000000D2254A0100000000D2254A0100000000D2254A0D2000000030000=
  219. 0024000000C000000040000000001E54A0D2000000FFFFFFFF|CPbC:\mmeditor\v3grafi=
  220. x\j0107980.wmf|CPccid:00af01bdac23$8c974a80$6e59389d@a-lingra.dns.microso=
  221. ft.com|CPdj0107980.wmf|>|"=20
  222. ImageType =3D 0><IMG class=3DIx27 height=3D72 id=3DIx27 name=3DIx27=20
  223. src=3D"cid:00af01bdac23$8c974a80$6e59389d@a-lingra.dns.microsoft.com"=20
  224. width=3D150></DIV>=20
  225. <DIV class=3DPI28 id=3DPI28 SoundPaths =3D " <AR|ARS0|>|" ClipPathInfo =
  226. =3D=20
  227. " =
  228. <CP|CPa8C00000030300000000000000C00000000000064000052000000A384F4D4540525=
  229. 54D4C5D41494E4C584D4052544942523C5A403130373938303E275D46400FFFFDAED00000=
  230. 00000000000000000000000000000000000000000000060000000001E54A0F2000000FFFF=
  231. FFFF100000004400000010000000D00000009900290028004900B90000000000000020000=
  232. 0000D2254A0100000000D2254A0100000000D2254A0100000000D2254A0D2000000030000=
  233. 0024000000C000000040000000001E54A0D2000000FFFFFFFF|CPbC:\mmeditor\v3grafi=
  234. x\j0107980.wmf|CPccid:00af01bdac23$8c974a80$6e59389d@a-lingra.dns.microso=
  235. ft.com|CPdj0107980.wmf|>|"=20
  236. ImageType =3D 0><IMG class=3DIx29 height=3D72 id=3DIx29 name=3DIx29=20
  237. src=3D"cid:00af01bdac23$8c974a80$6e59389d@a-lingra.dns.microsoft.com"=20
  238. width=3D150></DIV>=20
  239. <DIV class=3DPI30 id=3DPI30 SoundPaths =3D " <AR|ARS0|>|" ClipPathInfo =
  240. =3D=20
  241. " =
  242. <CP|CPa8C00000030300000000000000C00000000000064000052000000A384F4D4540525=
  243. 54D4C5D41494E4C584D4052544942523C5A403130373938303E275D46400FFFFDAED00000=
  244. 00000000000000000000000000000000000000000000060000000001E54A0F2000000FFFF=
  245. FFFF100000004400000010000000D00000009900290028004900B90000000000000020000=
  246. 0000D2254A0100000000D2254A0100000000D2254A0100000000D2254A0D2000000030000=
  247. 0024000000C000000040000000001E54A0D2000000FFFFFFFF|CPbC:\mmeditor\v3grafi=
  248. x\j0107980.wmf|CPccid:00af01bdac23$8c974a80$6e59389d@a-lingra.dns.microso=
  249. ft.com|CPdj0107980.wmf|>|"=20
  250. ImageType =3D 0><IMG class=3DIx31 height=3D72 id=3DIx31 name=3DIx31=20
  251. src=3D"cid:00af01bdac23$8c974a80$6e59389d@a-lingra.dns.microsoft.com"=20
  252. width=3D150></DIV></DIV></DIV> 
  253. <SCRIPT id=3DRuntimeScript language=3DJavaScript>
  254. if ( navigator.appVersion.substring(0,1) < 4 )
  255.  alert("Sorry but your Web browser needs to be updated. You must have at =
  256. least a version 4.0 browser to view this project.");
  257. if ( navigator.appName !=3D "Netscape" )                                            =09
  258. {                                                                                    =09
  259.     document.body.background =3D "";                                                =09
  260.     for ( var ii=3D0; ii<document.all.length; ii++ )                                    =09
  261.         if ((document.all.item(ii).id).indexOf("Sx") !=3D -1)                        =09
  262.             document.all.item(ii).style.filter=3D"revealTrans(duration=3D0, =
  263. transition=3D0)";        =09
  264. }                                                                                    =09
  265.  
  266. var    OBJ_SCENE        =3D 0;        =09
  267. var    OBJ_PLAYER        =3D 1;        =09
  268. var PLAYER_IMAGE    =3D 0;        =09
  269. var    PLAYER_TEXT        =3D 1;        =09
  270. var PLAYER_DRAW        =3D 2;        =09
  271. var    NAME_SCENE        =3D "S"        =09
  272. var    NAME_PLAYER        =3D "P"        =09
  273. var    PLAYER_NAME_IMAGE    =3D "I"    =09
  274. var    PLAYER_NAME_TEXT    =3D "T"
  275. var PLAYER_NAME_DRAW    =3D "D"
  276. var    IE_VISIBLE            =3D "visible";
  277. var    IE_HIDDEN            =3D "hidden";
  278. var    IE_INHERIT            =3D "inherit";
  279. var    NAV_VISIBLE            =3D "show";
  280. var    NAV_HIDDEN            =3D "hide";
  281. var    NAV_INHERIT            =3D "inherit";
  282. var    DEFAULT_TICK_RATE        =3D 100;    =09
  283. var DEFAULT_SCENE_DURATION    =3D 10000;=09
  284. var    DEFAULT_PLAYER_DELAY    =3D 0;    =09
  285. var    TMR_PROJ                =3D 0;    =09
  286. var    TMR_SCENE                =3D 1;    =09
  287. var    RR_NONE                    =3D 0;    =09
  288. var    RR_PAGE_BUTTONS            =3D 1;    =09
  289. var    RR_FULL_RUNTIME            =3D 2;    =09
  290. var    DUR_FOREVER                =3D -1;    =09
  291. var    DELAY_NONE                =3D 0;    =09
  292. var    DELAY_UNTIL_TRANSITION    =3D -1;    =09
  293. var    DELAY_UNTIL_TRIGGER        =3D -2;    =09
  294. var    DUR_UNTIL_DONE            =3D -1;    =09
  295. var TT_ALL_MOUSE_EVENTS    =3D 0;    =09
  296. var    TT_BUTTONDOWN            =3D 1;    =09
  297. var    TT_BUTTONUP                =3D 2;    =09
  298. var    TT_MOUSEOVER            =3D 3;    =09
  299. var    TT_MOUSEOUT                =3D 4;    =09
  300. var    TB_PAGE_TURNER            =3D -1;    =09
  301. var    TB_START_PLAYER            =3D -2;    =09
  302. var NULL_TRANSITION            =3D -1;
  303. var    TEXT_FLYIN                =3D 101;
  304. var TEXT_TYPEWRITER        =3D 102;
  305. var    FLYIN_TOP                =3D 0;
  306. var    FLYIN_BOTTOM            =3D 1;
  307. var    FLYIN_LEFT                =3D 2;
  308. var    FLYIN_RIGHT                =3D 3;
  309. var    FLYIN_ROTATE            =3D 4;
  310. var    FLYIN_BY_LETTER            =3D 1;
  311. var    FLYIN_BY_WORD            =3D 2;
  312. var    FLYIN_BY_LINE            =3D 3;
  313. var    FLYIN_PER_TICK =3D new Array (200, 160, 120, 80, 40);    =09
  314. var    TRANSITION_RATES =3D new Array(1,2,3,4,5);            =09
  315. var    PS_UNINITIALIZED    =3D 0;
  316. var PS_INITIALIZED        =3D 1;
  317. var    PS_RUNNING            =3D 2;
  318. var PS_PAUSED            =3D 3;
  319. var PS_COMPLETE            =3D 4;
  320. var    sceneArray        =3D new Array();=09
  321. var currentScene    =3D null;        =09
  322. var nScenes            =3D 0;        =09
  323. var stProjState =3D PS_UNINITIALIZED;=09
  324. var stButtons    =3D false;        =09
  325. var    stNoInput    =3D 0;            =09
  326. var strPause =3D new Array( "" );
  327. var strPlay =3D new Array( "" );
  328. var    formStatus =3D null;
  329. var    tickTimer        =3D null;        =09
  330. var sys            =3D navigator.appName;                                    =09
  331. var vers        =3D navigator.appVersion.substring(0,1);                    =09
  332. var os            =3D navigator.appVersion.indexOf("NT") >=3D 0 ? "NT" : "95";=09
  333. var    platform    =3D navigator.platform;                                    =09
  334. window.onload =3D PreSetup;
  335. window.onerror =3D Error;
  336. function Error()
  337. {
  338.     alert("There has been an unidentified error in this file's script. You =
  339. may be able to fix this problem by refreshing your browser.");
  340.     return true;
  341. }
  342. function Project( tickRate, startScene, stopScene, rtReq, autoStart, =
  343. delay, webpage )
  344. {
  345.     this.tickRate =3D tickRate;
  346.     this.startScene =3D startScene;
  347.     this.stopScene =3D stopScene;
  348.     this.rtReq =3D rtReq;
  349.     this.autoStart =3D autoStart;
  350.     this.delay =3D delay;
  351.     this.webpage =3D webpage;
  352. }
  353. function PreSetup()
  354. {
  355.     if ( (Project.delay !=3D null) && (Project.delay !=3D 0) )        =09
  356.     {
  357.         setTimeout( "Setup();", Project.delay*1000 );=20
  358.         return;
  359.     }
  360. =09
  361.     Setup();
  362. }
  363. function Setup()=20
  364. { =20
  365.     stNoInput++;                            =09
  366.     if ( vers < 4 ) return;                    =09
  367.     if ( sys =3D=3D "Netscape" )                =09
  368.     {
  369.         document.all =3D new Array;            =09
  370.         Extract(document);                    =09
  371.     =09
  372.         document.body =3D new Object;
  373.         document.body.clientWidth =3D window.innerWidth;
  374.         document.body.clientHeight =3D window.innerHeight;
  375.         document.body.scrollTop =3D window.pageXOffset;=20
  376.         document.body.scrollLeft =3D window.pageYOffset;
  377.     }
  378.     stButtons =3D SetupButtons();                =09
  379.     ProjectInitialize();                    =09
  380.     stNoInput--;                            =09
  381.     if ( (stButtons =3D=3D false) || (Project.autoStart =3D=3D true) )=09
  382.         Start();                                            =09
  383. }
  384. function ProjectInitialize()
  385. {
  386. =09
  387.     tickTimer =3D new Timer();
  388. =09
  389. =09
  390.     InitializeScenes();
  391. =09
  392.     tickTimer.StartTicking();                            =09
  393. =09
  394.     if ( Project.startScene =3D=3D null )        =09
  395.         Project.startScene =3D 0;                =09
  396.     stProjState =3D PS_INITIALIZED;            =09
  397. =09
  398. }
  399. function ProjectStart( startScene )
  400. {
  401.     stProjState =3D PS_RUNNING;
  402.     if ( startScene !=3D null )
  403.         ChangeScene( startScene );
  404.     else
  405.         ChangeScene( Project.startScene );
  406. }
  407. function ProjectComplete()
  408. {
  409.     if ( Project.rtReq =3D=3D RR_PAGE_BUTTONS )    =09
  410.         return;                                =09
  411.     ProjectShutdown();
  412.     StatusChange();                            =09
  413. }
  414. function ProjectShutdown()
  415. {
  416.     KillTimer();                                    =09
  417.     StopEverythingOnScenes( false );
  418.     currentScene =3D null;
  419.     stProjState =3D PS_COMPLETE;                        =09
  420. }
  421. function Extract( obj )
  422. {
  423. =09
  424. =09
  425.     for (var intLayer =3D 0; intLayer< obj.layers.length; intLayer++)=09
  426.     {
  427.         var el =3D obj.layers[intLayer];        =09
  428.         document.all[el.id] =3D new Object    =09
  429.         var newEl =3D document.all[el.id];    =09
  430.     =09
  431.         newEl.id =3D el.id;                            =09
  432.         newEl.style =3D new Object;                    =09
  433.         newEl.style.pixelTop =3D parseInt(el.top);
  434.         newEl.style.pixelLeft =3D parseInt(el.left);
  435.         if (null!=3Del.clip)=20
  436.         {
  437.             newEl.offsetWidth =3D el.clip.width;    =09
  438.             newEl.offsetHeight =3D el.clip.height
  439.         }
  440.     =09
  441.         if        ( el.visibility =3D=3D NAV_HIDDEN )
  442.             newEl.style.visibility =3D IE_HIDDEN;
  443.         else if ( el.visibility =3D=3D NAV_VISIBLE )
  444.             newEl.style.visibility =3D IE_VISIBLE;
  445.         else if    ( el.visibility =3D=3D NAV_INHERIT )
  446.             newEl.style.visibility =3D IE_INHERIT;
  447.         else
  448.             newEl.style.visibility =3D "";
  449.     =09
  450.         newEl.style.zIndex =3D el.zIndex;
  451.         newEl.style.backgroundColor =3D el.bgColor;
  452.         newEl.style.backgroundImage =3D "url("+el.background+")";
  453.         newEl.NSLayer =3D el;                        =09
  454.     =09
  455.     =09
  456.     =09
  457.         for (var intLoop =3D 0; intLoop< el.document.images.length; intLoop++)
  458.         {
  459.             var image =3D el.document.images[intLoop]    =09
  460.             var    imageName =3D image.name;                =09
  461.             if ( imageName =3D=3D null )                =09
  462.                 continue;                            =09
  463.         =09
  464.             document.all[imageName] =3D image;        =09
  465.             document.images[imageName] =3D image;        =09
  466.         }
  467.     =09
  468.         for (var intLoop =3D 0; intLoop< el.document.forms.length; intLoop++)=20
  469.         {
  470.             var form =3D el.document.forms[intLoop];    =09
  471.             var formName =3D form.name;                =09
  472.             if ( formName =3D=3D null )
  473.                 continue;
  474.             document.all[formName] =3D form;            =09
  475.             document.forms[formName] =3D form;        =09
  476.         =09
  477.             for ( var innerLoop =3D 0; innerLoop < form.elements.length; =
  478. innerLoop++)
  479.             {
  480.                 var element =3D form.elements[innerLoop]=09
  481.                 var elementName =3D element.name;
  482.                 if ( elementName =3D=3D null )            =09
  483.                     continue;
  484.                 document.all[elementName] =3D element;=09
  485.             }
  486.         }
  487.         if ( el.layers.length > 0 )                =09
  488.             Extract(el)                            =09
  489.     }
  490. }
  491. function Scene( duration )
  492. {
  493.     this.duration =3D duration;
  494. }
  495. function InitializeScenes()
  496. {
  497.     var objScene;                            =09
  498.     var sceneNumber =3D 0;                    =09
  499. =09
  500.     for ( sceneName in Scenes )
  501.     {
  502.         objScene =3D Scenes[sceneName];        =09
  503.         objScene.number =3D parseInt(sceneNumber);                =09
  504.         objScene.name =3D sceneName;                    =09
  505.         objScene.HTML =3D document.all[sceneName];    =09
  506.         SetVisibility( objScene.HTML, IE_HIDDEN );=09
  507.         if ( Project.rtReq =3D=3D RR_PAGE_BUTTONS )    =09
  508.             objScene.duration =3D DUR_FOREVER;
  509.         InitializePlayers( objScene );        =09
  510.     =09
  511.         if ( objScene.entryTrans =3D=3D null )
  512.         {
  513.             objScene.entryTrans =3D new Object();
  514.             objScene.entryTrans.type =3D NULL_TRANSITION;
  515.         }
  516.     =09
  517.         if ( objScene.Bhv !=3D null )
  518.             for ( var bhvIdx=3D0; (bhv=3DobjScene.Bhv[bhvIdx]) !=3D null; =
  519. bhvIdx++ )=09
  520.                 bhv.Initialize( objScene, bhv);
  521.         objScene.numBhv =3D bhvIdx;                                            =09
  522.         sceneArray[sceneNumber++] =3D objScene;=09
  523.     }
  524.     nScenes =3D sceneNumber;                    =09
  525. }
  526. function StopEverythingOnScenes( fPause )
  527. {
  528.     var objScene;                            =09
  529.     for ( sceneName in Scenes )
  530.     {
  531.         objScene =3D Scenes[sceneName];                    =09
  532.     =09
  533.     =09
  534.         if ( objScene.Bhv !=3D null )
  535.             for ( var bhvIdx=3D0; (bhv=3DobjScene.Bhv[bhvIdx]) !=3D null; =
  536. bhvIdx++ )=09
  537.                 bhv.StopEverything( bhv, fPause );
  538.         StopEverythingOnPlayers( objScene, fPause );        =09
  539.     }
  540.     return;
  541. }
  542. function ChangeScene( nextSceneNumber )
  543. {
  544.     var    previousScene =3D currentScene;                    =09
  545.     StopSceneTimers();                                    =09
  546.     currentScene =3D GetSceneFromNumber( nextSceneNumber );=09
  547.     currentScene.previousScene =3D previousScene;            =09
  548.     if ( currentScene.duration =3D=3D null )                =09
  549.         currentScene.duration =3D DEFAULT_SCENE_DURATION;    =09
  550. =09
  551.     if ( currentScene.Bhv !=3D null )
  552.         for ( var bhvIdx=3D0; bhvIdx<currentScene.numBhv; bhvIdx++ )=09
  553.         {
  554.             var bhv =3D currentScene.Bhv[bhvIdx]
  555.             if ( bhv =3D=3D null)                            =09
  556.                 continue;
  557.             var delay =3D bhv.delay
  558.             if        ( (delay =3D=3D null) || (delay =3D=3D DELAY_NONE) )=09
  559.                 bhv.Start( bhv );                                    =09
  560.             else if ( delay > 0 )                                =09
  561.                 StartOneShotTimer( bhv, bhv.delay, bhv.Start, TMR_SCENE );
  562.         }
  563.     StartScenePlayers( currentScene );                            =09
  564.     StartTransition( currentScene, currentScene.entryTrans, IE_VISIBLE, =
  565. SceneTransitionDone );=09
  566. =09
  567.     if ( currentScene.duration !=3D DUR_FOREVER )            =09
  568.         StartOneShotTimer( currentScene, currentScene.duration, SceneExit, =
  569. TMR_SCENE );
  570.     StatusChange();                                        =09
  571.     return;
  572. }
  573. function SceneTransitionDone( objScene )
  574. {
  575. =09
  576. =09
  577.     if ( currentScene.previousScene !=3D null )
  578.         SetVisibility( currentScene.previousScene.HTML, IE_HIDDEN );
  579. =09
  580.     if ( currentScene.Bhv !=3D null )
  581.         for ( bhvIdx=3D0; bhvIdx<currentScene.numBhv; bhvIdx++ )=09
  582.         {
  583.             var bhv =3D currentScene.Bhv[bhvIdx]
  584.             if ( bhv =3D=3D null)                            =09
  585.                 continue;
  586.             if ( bhv.delay =3D=3D DELAY_UNTIL_TRANSITION  )=09
  587.                 bhv.Start( bhv );                                =09
  588.         }
  589.     =09
  590.     StartScenePlayersAfterTransition( currentScene );=09
  591. }
  592. function SceneExit( thisScene, nextScene )
  593. {
  594.     var nextSceneNumber =3D nextScene =3D=3D null ? currentScene.number+1 : =
  595. nextScene.number;
  596.     var finalScene =3D (nextSceneNumber <=3D Project.stopScene) ? false : =
  597. true;
  598. =09
  599. =09
  600. =09
  601.     for ( playerName in currentScene.Players )
  602.     {
  603.         objPlayer =3D currentScene.Players[playerName];        =09
  604.         PlayerExitTransitionDone( objPlayer, finalScene );    =09
  605.     }
  606. =09
  607.     if ( currentScene.Bhv !=3D null )
  608.         for ( bhvIdx=3D0; bhvIdx<currentScene.numBhv; bhvIdx++ )=09
  609.         {
  610.             var bhv =3D currentScene.Bhv[bhvIdx]
  611.             if ( bhv =3D=3D null)                            =09
  612.                 continue;
  613.             if ( bhv.duration =3D=3D DUR_UNTIL_DONE  )        =09
  614.                 bhv.Stop( bhv );                        =09
  615.         }
  616. =09
  617. =09
  618.     if ( finalScene =3D=3D false )                    =09
  619.         ChangeScene( nextSceneNumber )            =09
  620.     else
  621.         ProjectComplete()                        =09
  622.     =09
  623. }
  624. function Player( delay, duration )
  625. {
  626.     this.delay =3D delay;
  627.     this.duration =3D duration;
  628. }
  629. function InitializePlayers( objScene )
  630. {
  631.     var objPlayer;                        =09
  632.     var    playerNumber =3D 0;                =09
  633.     for ( playerName in objScene.Players )
  634.     {
  635.         objPlayer =3D objScene.Players[playerName];        =09
  636.         objPlayer.number =3D playerNumber;                =09
  637.         objPlayer.name =3D playerName;                    =09
  638.         objPlayer.HTML =3D document.all[playerName];        =09
  639.         SetVisibility( objPlayer.HTML, IE_HIDDEN );        =09
  640.         objPlayer.position =3D new Position(objPlayer);    =09
  641.     =09
  642.         if ( objPlayer.delay =3D=3D null )                    =09
  643.             objPlayer.delay =3D DEFAULT_PLAYER_DELAY;        =09
  644.     =09
  645.     =09
  646.         if        ( objPlayer.entryTrans =3D=3D null )
  647.         {
  648.             objPlayer.entryTrans =3D new Object();
  649.             objPlayer.entryTrans.type =3D NULL_TRANSITION;
  650.         }=20
  651.     =09
  652.         else if ((objPlayer.entryTrans !=3D null) &&            =09
  653.             (GetPlayerTypeFromName(objPlayer.name) =3D=3D PLAYER_TEXT))
  654.         {
  655.             if ( (objPlayer.entryTrans.type =3D=3D TEXT_FLYIN) || =
  656. (objPlayer.entryTrans.type =3D=3D TEXT_TYPEWRITER) )
  657.                 if ( InitializeTextFlyin( objPlayer ) =3D=3D false )
  658.                     objPlayer.entryTrans.type =3D null;                            =09
  659.         }
  660.     =09
  661.         if ( objPlayer.exitTrans =3D=3D null )
  662.         {
  663.             objPlayer.exitTrans =3D new Object();
  664.             objPlayer.exitTrans.type =3D NULL_TRANSITION;
  665.         }
  666.     =09
  667.         if ( objPlayer.Bhv !=3D null )
  668.         {
  669.             for ( bhvIdx=3D0; (bhv=3DobjPlayer.Bhv[bhvIdx]) !=3D null; bhvIdx++ )    =
  670.  
  671.                 bhv.Initialize( objPlayer, bhv);
  672.             objPlayer.numBhv =3D bhvIdx;                                    =09
  673.         }
  674.         else
  675.             objPlayer.numBhv =3D 0;
  676.         playerNumber ++;                =09
  677.     }=09
  678. }
  679. function StopEverythingOnPlayers( objScene, fPause )
  680. {
  681.     var objPlayer;                        =09
  682.     for ( playerName in objScene.Players )
  683.     {
  684.         objPlayer =3D objScene.Players[playerName];        =09
  685.     =09
  686.     =09
  687.         if ( objPlayer.Bhv !=3D null )
  688.         {
  689.             for ( bhvIdx=3D0; (bhv=3DobjPlayer.Bhv[bhvIdx]) !=3D null; bhvIdx++ )    =
  690.  
  691.                 bhv.StopEverything( bhv, fPause );
  692.         }
  693.         DisableTrigger( objPlayer );                    =09
  694.     }=09
  695.     return;
  696. }
  697. function StartScenePlayers( objScene )
  698. {
  699. =09
  700.     for ( playerName in objScene.Players )
  701.     {
  702.         objPlayer =3D objScene.Players[playerName];        =09
  703.     =09
  704.     =09
  705.     =09
  706.         if        ( objPlayer.delay =3D=3D DELAY_NONE )        =09
  707.             StartPlayer( objPlayer )                    =09
  708.         else if ( objPlayer.delay    > 0 )                =09
  709.             StartOneShotTimer( objPlayer, objPlayer.delay, StartPlayer, =
  710. TMR_SCENE);
  711.     }
  712. }
  713. function StartScenePlayersAfterTransition( objScene )
  714. {
  715. =09
  716.     for ( playerName in objScene.Players )
  717.     {
  718.         objPlayer =3D objScene.Players[playerName];        =09
  719.         if ( objPlayer.delay =3D=3D DELAY_UNTIL_TRANSITION )=09
  720.             StartPlayer( objPlayer )                    =09
  721.     }
  722. }
  723. function StartPlayer( objPlayer )
  724. {
  725. =09
  726.     if ( objPlayer.Bhv !=3D null )
  727.         for ( bhvIdx=3D0; bhvIdx<objPlayer.numBhv; bhvIdx++ )=09
  728.         {
  729.             var bhv =3D objPlayer.Bhv[bhvIdx]
  730.             if ( bhv =3D=3D null)                            =09
  731.                 continue;
  732.             var delay =3D bhv.delay
  733.             if        ( (delay =3D=3D null) || (delay =3D=3D DELAY_NONE) )=09
  734.                 bhv.Start( bhv );                                =09
  735.             else if ( delay > 0 )                                =09
  736.                 StartOneShotTimer( bhv, bhv.delay, bhv.Start, TMR_SCENE );
  737.         }
  738. =09
  739.     StartTransition( objPlayer, objPlayer.entryTrans, IE_VISIBLE, =
  740. PlayerEntryTransitionDone );
  741. =09
  742. =09
  743.     if ( objPlayer.duration > 0 )
  744.         StartOneShotTimer( objPlayer, objPlayer.duration, PlayerExit, =
  745. TMR_SCENE );                                =09
  746. }
  747. function PlayerEntryTransitionDone( objPlayer )
  748. {
  749. =09
  750.     if ( objPlayer.Bhv !=3D null )
  751.         for ( bhvIdx=3D0; bhvIdx<objPlayer.numBhv; bhvIdx++ )=09
  752.         {
  753.             var bhv =3D objPlayer.Bhv[bhvIdx]
  754.             if ( bhv =3D=3D null)                            =09
  755.                 continue;
  756.             if ( bhv.delay =3D=3D DELAY_UNTIL_TRANSITION  )=09
  757.                 bhv.Start( bhv );                                =09
  758.         }
  759. =09
  760.     if ( objPlayer.Triggers !=3D null )
  761.         EnableTrigger( objPlayer );
  762. }
  763. function PlayerExit( objPlayer )
  764. {
  765. =09
  766.     StartTransition( objPlayer, objPlayer.exitTrans, IE_HIDDEN, =
  767. PlayerExitTransitionDone );
  768. }
  769. function PlayerExitTransitionDone( objPlayer, finalScene )
  770. {
  771. =09
  772.     if ( objPlayer.Bhv !=3D null )
  773.         for ( bhvIdx=3D0; bhvIdx<objPlayer.numBhv; bhvIdx++ )=09
  774.         {
  775.             var bhv =3D objPlayer.Bhv[bhvIdx]
  776.             if ( bhv =3D=3D null)                            =09
  777.                 continue;
  778.             if ( bhv.duration =3D=3D DUR_UNTIL_DONE  )        =09
  779.                 bhv.Stop( bhv );                        =09
  780.         }
  781. =09
  782.     if ( (finalScene =3D=3D null) || (finalScene =3D=3D false) )
  783.         SetVisibility( objPlayer.HTML, IE_HIDDEN );        =09
  784. =09
  785. =09
  786. =09
  787.     if ( (sys !=3D "Netscape") && (objPlayer.HTML.Preview !=3D null) )
  788.         SetVisibility( objPlayer.HTML, IE_VISIBLE );=20
  789.     return;
  790. }
  791. function Trigger( trigType, trigBhv, player, scene )
  792. {
  793.     this.triggerType =3D trigType;
  794.     this.triggerBhv =3D trigBhv;
  795.     this.player =3D player;
  796.     this.nextSceneNum =3D scene;
  797. }
  798. function EnableTrigger( objPlayer )
  799. {
  800.     if ( sys !=3D "Netscape" )                                =09
  801.     {
  802.         objPlayer.HTML.style.cursor=3D"hand";                    =09
  803.         for ( trx in objPlayer.Triggers )                    =09
  804.         {
  805.             var    trigger =3D objPlayer.Triggers[trx];            =09
  806.             if ( trigger.triggerType =3D=3D null )
  807.                 trigger.triggerType =3D 0;                    =09
  808.             var tt =3D trigger.triggerType;                    =09
  809.             if            ( tt =3D=3D TT_ALL_MOUSE_EVENTS )                            =09
  810.             {
  811.                 objPlayer.HTML.onmousedown =3D EventProcessor;
  812.                 objPlayer.HTML.onmouseup =3D EventProcessor;=09
  813.                 objPlayer.HTML.onmouseover =3D EventProcessor;    =09
  814.                 objPlayer.HTML.onmouseout =3D EventProcessor;
  815.             }
  816.             else if        ( tt =3D=3D TT_BUTTONDOWN )                =09
  817.                 objPlayer.HTML.onmousedown =3D EventProcessor;
  818.             else if        ( tt =3D=3D TT_BUTTONUP )        =09
  819.                 objPlayer.HTML.onmouseup =3D EventProcessor;
  820.             else if        ( tt =3D=3D TT_MOUSEOVER )        =09
  821.                 objPlayer.HTML.onmouseover =3D EventProcessor;
  822.             else if        ( tt =3D=3D TT_MOUSEOUT )        =09
  823.                 objPlayer.HTML.onmouseout =3D EventProcessor;
  824.         }
  825.     }
  826.     else                                        =09
  827.     {
  828.         for ( trx in objPlayer.Triggers )        =09
  829.         {
  830.             var    trigger =3D objPlayer.Triggers[trx];=09
  831.             if ( trigger.triggerType =3D=3D null )
  832.                 trigger.triggerType =3D 0;                    =09
  833.             var tt =3D trigger.triggerType;                    =09
  834.             if ( tt=3D=3D 0 )                                    =09
  835.             {
  836.                 objPlayer.HTML.NSLayer.captureEvents( Event.MOUSEUP | =
  837. Event.MOUSEDOWN | Event.MOUSEOVER | Event.MOUSEOUT );
  838.                 objPlayer.HTML.NSLayer.onMouseUp =3D EventProcessor;
  839.                 objPlayer.HTML.NSLayer.onMouseDown =3D EventProcessor;
  840.                 objPlayer.HTML.NSLayer.onMouseOver =3D EventProcessor;
  841.                 objPlayer.HTML.NSLayer.onMouseOut =3D EventProcessor;
  842.             }
  843.             else if    ( tt =3D=3D TT_BUTTONUP )
  844.             {
  845.                 objPlayer.HTML.NSLayer.captureEvents(Event.MOUSEUP);
  846.                 objPlayer.HTML.NSLayer.onMouseUp =3D EventProcessor;
  847.             }
  848.             else if ( tt =3D=3D TT_BUTTONDOWN )
  849.             {
  850.                 objPlayer.HTML.NSLayer.captureEvents(Event.MOUSEDOWN);
  851.                 objPlayer.HTML.NSLayer.onMouseDown =3D EventProcessor;
  852.             }
  853.         }
  854.     =09
  855.     }
  856. }
  857. function DisableTrigger( objPlayer )
  858. {
  859.     if ( sys !=3D "Netscape" )            =09
  860.     {
  861.         objPlayer.HTML.onmousedown =3D null;
  862.         objPlayer.HTML.onmouseup =3D null;=09
  863.         objPlayer.HTML.onmouseover =3D null;    =09
  864.         objPlayer.HTML.onmouseout =3D null;
  865.     }
  866.     else                                =09
  867.         objPlayer.HTML.NSLayer.releaseEvents(Event.MOUSEUP | Event.MOUSEDOWN | =
  868. Event.MOUSEOVER | Event.MOUSEOUT );
  869. }
  870. function EventProcessor( e )
  871. {
  872.     var trigger;                                =09
  873.     var    type;                                    =09
  874.     var    button;                                    =09
  875.     var    eventType;                                =09
  876.     var objPlayer;                                =09
  877.     if ( (objPlayer =3D GetPlayerFromName(this.id)) =3D=3D null)=09
  878.         return;
  879.     if ( sys !=3D "Netscape" )                    =09
  880.     {
  881.         type =3D event.type;
  882.         button =3D event.button;
  883.     }
  884.     else                                        =09
  885.     {
  886.         type =3D e.type;
  887.         button =3D e.which;
  888.     }
  889. =09
  890.     if (type =3D=3D "mousedown")
  891.     {
  892.         if ( button !=3D 1 )                    =09
  893.             return;
  894.         eventType =3D TT_BUTTONDOWN;
  895.         if ( sys =3D=3D "Netscape" )            =09
  896.         {
  897.             objPlayer.HTML.NSLayer.releaseEvents(Event.MOUSEDOWN);
  898.             objPlayer.HTML.NSLayer.captureEvents(Event.MOUSEDOWN);
  899.         }
  900.     }
  901.     else if (type =3D=3D "mouseup")
  902.     {
  903.         if ( button !=3D 1 )                    =09
  904.             return;
  905.         eventType =3D TT_BUTTONUP;
  906.         if ( sys =3D=3D "Netscape" )            =09
  907.         {
  908.             objPlayer.HTML.NSLayer.releaseEvents(Event.MOUSEUP);
  909.             objPlayer.HTML.NSLayer.captureEvents(Event.MOUSEUP);
  910.         }
  911.     }
  912.     else if (type =3D=3D "mouseover")
  913.     {
  914.         eventType =3D TT_MOUSEOVER;
  915.     }
  916.     else if (type =3D=3D "mouseout")
  917.     {
  918.         eventType =3D TT_MOUSEOUT;
  919.     }
  920.     var triggerArray =3D objPlayer.Triggers;        =09
  921.     var trigger;                                =09
  922. =09
  923.     for ( var trx=3D0; (trigger=3DtriggerArray[trx]) !=3D null; trx++ )
  924.     {
  925.         if ( (trigger.triggerType =3D=3D 0) || (trigger.triggerType =3D=3D =
  926. eventType) )
  927.         {
  928.         =09
  929.         =09
  930.         =09
  931.             if        ( trigger.triggerBhv =3D=3D TB_PAGE_TURNER )
  932.             {
  933.             =09
  934.             =09
  935.                 if ( (trigger.nextSceneNum =3D=3D null) || (trigger.nextSceneNum =
  936. =3D=3D "") )
  937.                     SceneExit( currentScene );
  938.                 else
  939.                 {
  940.                     if ( Scenes[trigger.nextSceneNum].number < currentScene.number )
  941.                     {
  942.                         for ( ii=3D0; ii<=3DcurrentScene.number; ii++ )
  943.                             InitializePlayers( sceneArray[ii] );
  944.                     }
  945.                     SceneExit( currentScene, Scenes[trigger.nextSceneNum] );
  946.                 }
  947.             }
  948.             else if    ( trigger.triggerBhv =3D=3D TB_START_PLAYER )
  949.                 StartPlayer( GetPlayerFromName( trigger.player ) );            =09
  950.             else=20
  951.             {
  952.             =09
  953.                 var objTrigPlayer =3D GetPlayerFromName( trigger.player );    =09
  954.                 var bhv =3D objTrigPlayer.Bhv[trigger.triggerBhv];            =09
  955.                 bhv.Trigger( bhv, eventType );                                =09
  956.             }  =09
  957.         }
  958.     }
  959.     return;=09
  960. }
  961. function Transition( type, rate, flyFrom, flySubtype )
  962. {
  963.     this.type =3D type;
  964.     this.rate =3D rate;
  965.     this.flyFrom =3D flyFrom;
  966.     this.flySubtype =3D flySubtype;
  967. }
  968. function StartTransition( transObj, trans, visibility, callback )
  969. {
  970.     var    playerType =3D GetObjectTypeFromName( transObj.name );    =09
  971. =09
  972. =09
  973. =09
  974.     if    ( ("Netscape" =3D=3D sys) ||=20
  975.         ( (playerType =3D=3D OBJ_PLAYER) && (trans.type =3D=3D =
  976. NULL_TRANSITION) ) )
  977.     {
  978.         SetVisibility( transObj.HTML, visibility );
  979.         callback( transObj );
  980.         return;
  981.     }
  982. =09
  983. =09
  984. =09
  985. =09
  986.     if ( ((trans.type =3D=3D TEXT_FLYIN) || (trans.type =3D=3D =
  987. TEXT_TYPEWRITER)) && (visibility =3D=3D IE_VISIBLE) )
  988.     {
  989.         StartTextFlyin( transObj );
  990.         return;
  991.     }
  992. =09
  993.     if ( platform !=3D "Win32" )
  994.     {
  995.         SetVisibility( transObj.HTML, visibility );
  996.         callback( transObj );
  997.         return;
  998.     }
  999.     =09
  1000. =09
  1001. =09
  1002. =09
  1003. =09
  1004. =09
  1005.     if ( trans.type =3D=3D NULL_TRANSITION )
  1006.     {
  1007.         transObj.HTML.style.filter =3D "revealTrans(duration=3D0, =
  1008. transition=3D0)";
  1009.     }
  1010.     else    =09
  1011.     {
  1012.         duration =3D TRANSITION_RATES[trans.rate];
  1013.         transObj.HTML.style.filter =3D "revealTrans(duration=3D" + duration + =
  1014. ", transition=3D" + trans.type + ")";
  1015.     }
  1016.     stNoInput++;                                    =09
  1017.     transObj.HTML.filters(0).Apply();                =09
  1018. =09
  1019.     SetVisibility( transObj.HTML, visibility );        =09
  1020. =09
  1021.     transObj.HTML.filters(0).Play()                    =09
  1022.     transObj.HTML.onfilterchange =3D TransitionDoneEvent;=09
  1023. }
  1024. function TransitionDoneEvent( )
  1025. {
  1026.     var    type =3D GetObjectTypeFromName( event.srcElement.id );    =09
  1027.     stNoInput--;                                                =09
  1028.     if        ( type =3D=3D OBJ_SCENE )
  1029.     {
  1030.     =09
  1031.         if ( (currentScene !=3D null) && (event.srcElement.id =3D=3D =
  1032. currentScene.name) )
  1033.             SceneTransitionDone();
  1034.     }
  1035.     else if    ( type =3D=3D OBJ_PLAYER )        =09
  1036.     {
  1037.         var objPlayer =3D GetPlayerFromName( event.srcElement.id );
  1038.         if ( this.style.visibility =3D=3D IE_VISIBLE )                =09
  1039.             PlayerEntryTransitionDone( objPlayer ); =20
  1040.         else                                                    =09
  1041.             PlayerExitTransitionDone( objPlayer, false );
  1042.     }
  1043.     return;
  1044. }
  1045. function InitializeTextFlyin( objPlayer )
  1046. {
  1047.     if ( sys =3D=3D "Netscape" )                                    =09
  1048.         return false;
  1049.     var    transition =3D objPlayer.entryTrans;                        =09
  1050.     var    transUnits =3D transition.flySubtype;                        =09
  1051.     var    movePerTick    =3D parseInt(FLYIN_PER_TICK[transition.rate]);=09
  1052. =09
  1053.     var    transDirection =3D (transition.type =3D=3D TEXT_FLYIN) ? =
  1054. transition.flyFrom : FLYIN_TOP;    =09
  1055.     =09
  1056. =09
  1057.     if ( stProjState =3D=3D PS_UNINITIALIZED )
  1058.     {
  1059.         var    textHTML    =3D objPlayer.HTML;                =09
  1060.         var    oldInnerHTML    =3D textHTML.innerHTML;        =09
  1061.         var    newInnerHTML    =3D "";                        =09
  1062.     =09
  1063.         transition.textOrder =3D new Array();                =09
  1064.         textOrder =3D transition.textOrder;                =09
  1065. =09
  1066.     =09
  1067.     =09
  1068.     =09
  1069.     =09
  1070.         var flyinIdx =3D 0;                        =09
  1071.         var    flyinBuffer =3D "";
  1072.     =09
  1073.     =09
  1074.     =09
  1075.         var spanStyle =3D (transition.type =3D=3D TEXT_FLYIN) ? " =
  1076. style=3D'position:relative;visibility:hidden;'" : " =
  1077. style=3D'visibility:hidden;'";
  1078.         for ( var letterIdx=3D0; letterIdx<oldInnerHTML.length; )
  1079.         {
  1080.         =09
  1081.             tempID =3D objPlayer.name+"_tempID"+flyinIdx.toString();
  1082.             newInnerHTML +=3D "<span id=3D" + tempID + spanStyle + ">";
  1083.             while ( letterIdx<oldInnerHTML.length )
  1084.             {
  1085.             =09
  1086.             =09
  1087.             =09
  1088.                 if ( ( (charNext =3D oldInnerHTML.substring(letterIdx, letterIdx+1)) =
  1089. =3D=3D "<") || (charNext =3D=3D "&") )    =09
  1090.                 {
  1091.                     if ( charNext =3D=3D "<" )                                                                =09
  1092.                         endTagIdx =3D oldInnerHTML.indexOf( ">", letterIdx );=09
  1093.                     else
  1094.                         endTagIdx =3D oldInnerHTML.indexOf( ";", letterIdx );=09
  1095.                     var tagString =3D oldInnerHTML.substring( letterIdx, ++endTagIdx );
  1096.                     newInnerHTML +=3D tagString;
  1097.                     letterIdx =3D endTagIdx;                                            =09
  1098.                 =09
  1099.                     if ( ((tagString =3D=3D "</P>") || (tagString =3D=3D "<BR>")) &&
  1100.                         (transUnits !=3D FLYIN_BY_LETTER)    )                                    =09
  1101.                         break;
  1102.                 }
  1103.             =09
  1104.                 else
  1105.                 {
  1106.                     thisChar =3D oldInnerHTML.substring( letterIdx, ++letterIdx );
  1107.                     newInnerHTML +=3D thisChar;
  1108.                     if        ( transUnits =3D=3D FLYIN_BY_LETTER )        =09
  1109.                         break;                                        =09
  1110.                     else if    ( (transUnits =3D=3D FLYIN_BY_WORD ) && thisChar =3D=3D " " =
  1111. )    =09
  1112.                         break;
  1113.                 }
  1114.             }
  1115.             newInnerHTML +=3D "</span>"
  1116.             textOrder[flyinIdx] =3D new Object();
  1117.             textOrder[flyinIdx].name =3D tempID;                                    =09
  1118.             flyinIdx++;                                                            =09
  1119.         }
  1120.     =09
  1121.         if ( flyinIdx =3D=3D 0 )
  1122.             return false;
  1123.     =09
  1124.         textHTML.innerHTML =3D newInnerHTML;
  1125.         transition.numUnits =3D flyinIdx;                        =09
  1126.     }
  1127. =09
  1128. =09
  1129. =09
  1130.     textOrder =3D transition.textOrder;
  1131.     var currentEl =3D document.all[textOrder[0].name];    =09
  1132.     var currentOffset =3D currentEl.offsetLeft;=09
  1133.     var previousEl, previousOffset;
  1134.     for ( var count=3D0; count<transition.numUnits; count++ )        =09
  1135.     {
  1136.         previousOffset =3D currentOffset;                            =09
  1137.         previousEl =3D currentEl;
  1138.         textElName =3D textOrder[count].name;                    =09
  1139.         currentEl =3D document.all[textElName];
  1140.         SetVisibility( currentEl, IE_HIDDEN );
  1141.         currentOffset =3D currentEl.offsetTop;
  1142.     =09
  1143.     =09
  1144.     =09
  1145.     =09
  1146.     =09
  1147.     =09
  1148.         if ( currentOffset !=3D previousOffset )                                =09
  1149.             if ( previousEl.innerHTML =3D=3D " " )                                    =09
  1150.                 previousEl.innerHTML =3D "<br>";
  1151.         if ( transDirection =3D=3D FLYIN_ROTATE )        =09
  1152.             direction =3D count % FLYIN_ROTATE;            =09
  1153.         else
  1154.             direction =3D transDirection;
  1155.     =09
  1156.         if        ( direction =3D=3D FLYIN_LEFT )
  1157.         {
  1158.             tempPos =3D -(currentEl.offsetParent.offsetLeft + =
  1159. currentEl.offsetParent.offsetWidth);
  1160.             currentEl.style.posLeft =3D tempPos;                    =09
  1161.             textOrder[count].dx =3D -movePerTick;                    =09
  1162.             textOrder[count].dy =3D 0;
  1163.             textOrder[count].iterations =3D tempPos / (-movePerTick);=09
  1164.         }
  1165.         else if ( direction =3D=3D FLYIN_RIGHT )
  1166.         {
  1167.             tempPos =3D objPlayer.HTML.parentElement.offsetWidth - =
  1168. currentEl.offsetParent.offsetLeft;
  1169.             currentEl.style.posLeft =3D tempPos;
  1170.             textOrder[count].dx =3D movePerTick;                    =09
  1171.             textOrder[count].dy =3D 0;
  1172.             textOrder[count].iterations =3D tempPos / movePerTick;=09
  1173.         }
  1174.         else if    ( direction =3D=3D FLYIN_TOP )
  1175.         {
  1176.             tempPos =3D -(currentEl.offsetParent.style.posTop + =
  1177. currentEl.offsetParent.offsetHeight);
  1178.             currentEl.style.posTop =3D tempPos;
  1179.             textOrder[count].dx =3D 0;
  1180.             textOrder[count].dy =3D (-movePerTick);                =09
  1181.             textOrder[count].iterations =3D tempPos / (-movePerTick);=09
  1182.         }
  1183.         else if ( direction =3D=3D FLYIN_BOTTOM )
  1184.         {
  1185.             tempPos =3D objPlayer.HTML.parentElement.offsetHeight - =
  1186. currentEl.offsetParent.style.posTop;
  1187.             currentEl.style.posTop =3D tempPos;
  1188.             textOrder[count].dx =3D 0;
  1189.             textOrder[count].dy =3D movePerTick;                    =09
  1190.             textOrder[count].iterations =3D tempPos / movePerTick;=09
  1191.         }
  1192.     }
  1193. =09
  1194.     transition.charIdx =3D 0;                            =09
  1195.     transition.moveIdx =3D 0;                            =09
  1196.     textElName =3D transition.textOrder[0].name;
  1197.     transition.currentEl =3D document.all[textElName];=09
  1198.     SetVisibility( transition.currentEl, IE_VISIBLE );
  1199.     return true;
  1200. }
  1201. function StartTextFlyin( objPlayer )
  1202. {
  1203. =09
  1204.     SetVisibility( objPlayer.HTML, IE_VISIBLE );
  1205.     StartAnimationTimer( objPlayer, TextFlyinTick );
  1206. }
  1207. function TextFlyinTick( objPlayer )
  1208. {
  1209.     var    transition =3D objPlayer.entryTrans;                    =09
  1210.     var    spanObj =3D transition.textOrder[transition.charIdx];    =09
  1211.     var textEl =3D transition.currentEl;                        =09
  1212. =09
  1213. =09
  1214.     if ( ++transition.moveIdx < spanObj.iterations)            =09
  1215.     {
  1216.         textEl.style.posTop -=3D spanObj.dy;                    =09
  1217.         textEl.style.posLeft -=3D spanObj.dx;
  1218.         return false;                                        =09
  1219.     }
  1220.     =09
  1221. =09
  1222.     textEl.style.posTop =3D 0;                                =09
  1223.     textEl.style.posLeft =3D 0;
  1224.     =09
  1225. =09
  1226.     if ( (charIdx =3D ++transition.charIdx) >=3D =
  1227. transition.textOrder.length )=09
  1228.     {
  1229.         PlayerEntryTransitionDone( objPlayer );                =09
  1230.         return true;                                        =09
  1231.     }
  1232.     else
  1233.     {
  1234.         transition.moveIdx =3D 0;                                =09
  1235.         textElName =3D transition.textOrder[charIdx].name;
  1236.         transition.currentEl =3D document.all[textElName];    =09
  1237.         transition.currentEl.style.visibility =3D IE_VISIBLE;    =09
  1238.         return false;                                        =09
  1239.     }                                                        =09
  1240. }
  1241. var    SND_DUR_SCENE            =3D -1;=09
  1242. var    SND_DUR_PROJECT            =3D 0;=09
  1243. var ST_WAV                    =3D 1;=09
  1244. var    ST_MID                    =3D 2;=09
  1245. var    NAV_EXT                    =3D "nav"=09
  1246. var MidiTag                    =3D null;=09
  1247. function Sound( delay, duration, loop, soundType, tagName, fileName )
  1248. {
  1249. =09
  1250.     this.Initialize =3D InitializeSound;
  1251.     this.Start =3D StartSound;
  1252.     this.Trigger =3D StartSound;
  1253.     this.Stop =3D StopSound;
  1254.     this.StopEverything =3D StopEverythingOnSounds;
  1255. =09
  1256.     this.delay =3D delay;
  1257.     this.duration =3D duration;
  1258.     this.loop =3D loop;
  1259.     this.tagName =3D tagName;
  1260.     this.fileName =3D fileName;
  1261.     this.soundType =3D soundType;
  1262. }
  1263. function InitializeSound( objParent, objSound )
  1264. {
  1265.     if ( sys =3D=3D "Netscape" )
  1266.     {
  1267.         objSound.navLoop =3D (objSound.loop =3D=3D -1) ? true : false;
  1268.         objSound.html =3D document[objSound.tagName+NAV_EXT];
  1269.         return;
  1270.     }
  1271.     objSound.objParent =3D objParent;                =09
  1272.     objSound.html =3D document.all[objSound.tagName];=09
  1273.     objSound.fileName =3D objSound.html.soundsrc;    =09
  1274. =09
  1275. =09
  1276.     if (objSound.soundType =3D=3D ST_MID )
  1277.     {
  1278.         if ( MidiTag =3D=3D null )                    =09
  1279.             MidiTag =3D objSound.html;            =09
  1280.         else
  1281.             objSound.html =3D MidiTag;            =09
  1282.     }        =09
  1283. }
  1284. function StartSound( objSound )
  1285. {
  1286.     if ( sys =3D=3D "Netscape" )                    =09
  1287.     {
  1288.         if ( objSound.html !=3D null )            =09
  1289.             objSound.html.play(objSound.navLoop);
  1290.         return;
  1291.     }
  1292.     objSound.html.src =3D objSound.fileName;        =09
  1293.     objSound.html.loop =3D objSound.loop;            =09
  1294.     if ( objSound.soundType =3D=3D ST_WAV )        =09
  1295.         objSound.html.volume =3D 0;                    =09
  1296.     if ( objSound.duration > 0 )
  1297.         StartOneShotTimer( objSound, objSound.duration, objSound.Stop, =
  1298. TMR_PROJ );
  1299. }
  1300. function StopSound( objSound, fPause )
  1301. {
  1302.     if ( sys =3D=3D "Netscape" )                    =09
  1303.     {
  1304.         if ( objSound.html !=3D null )            =09
  1305.             objSound.html.stop();
  1306.         return;
  1307.     }
  1308.     objSound.html.loop =3D 0;
  1309.     objSound.html.src =3D "";                            =09
  1310.     if ( objSound.soundType =3D=3D ST_WAV )
  1311.         objSound.html.volume =3D -10000;
  1312. }
  1313. function StopEverythingOnSounds( objSound )
  1314. {
  1315.     StopSound( objSound, true );
  1316.     if ( (sys !=3D "Netscape") && (os =3D=3D "NT") )                =09
  1317.         objSound.html.volume =3D -500;                        =09
  1318. }
  1319. var    SND_DUR_SCENE            =3D -1;=09
  1320. var    SND_DUR_PROJECT            =3D 0;=09
  1321. function Swapper( idle, hover, click )
  1322. {
  1323. =09
  1324.     this.Initialize =3D InitializeSwap;
  1325.     this.Start =3D StartSwap;
  1326.     this.Trigger =3D TriggerSwap;
  1327.     this.Stop =3D StopSwap;
  1328.     this.StopEverything =3D StopSwap;
  1329. =09
  1330.     this.idle =3D idle;
  1331.     this.hover =3D hover;
  1332.     this.click =3D click;
  1333. }
  1334. function InitializeSwap( objParent, objSwap )
  1335. {
  1336.     if ( stProjState !=3D PS_UNINITIALIZED )            =09
  1337.         return;
  1338. =09
  1339.     var    idle    =3D objSwap.idle;                        =09
  1340.     var    hover    =3D objSwap.hover;
  1341.     var    click    =3D objSwap.click;
  1342. =09
  1343. =09
  1344. =09
  1345. =09
  1346. =09
  1347. =09
  1348. =09
  1349.     if ( (hover !=3D null) && (hover !=3D "") && (document.all[hover].src =
  1350. !=3D null) )
  1351.     {
  1352.         SetVisibility( document.all[hover], IE_HIDDEN );
  1353.         objSwap.srcHover =3D document.all[hover].src;
  1354.         document.all[hover].src =3D "";
  1355.     }
  1356.     else
  1357.         objSwap.srcHover =3D document.all[idle].src;
  1358.     if ( (click !=3D null) && (click !=3D "") && (document.all[click].src =
  1359. !=3D null) )
  1360.     {
  1361.         SetVisibility( document.all[click], IE_HIDDEN );
  1362.         objSwap.srcClick =3D document.all[click].src;
  1363.         document.all[click].src =3D "";
  1364.     }
  1365.     else
  1366.         objSwap.srcClick =3D document.all[idle].src;
  1367. =09
  1368.     objSwap.srcIdle =3D document.all[idle].src;
  1369. }
  1370. function StartSwap( objSwap )
  1371. {
  1372. =09
  1373. }
  1374. function TriggerSwap( objSwap, eventType )
  1375. {
  1376.     if ( eventType =3D=3D TT_BUTTONDOWN )
  1377.         document.all[objSwap.idle].src =3D objSwap.srcClick;
  1378.     else if ( eventType =3D=3D TT_BUTTONUP )
  1379.         document.all[objSwap.idle].src =3D objSwap.srcHover;
  1380.     else if ( eventType =3D=3D TT_MOUSEOVER )
  1381.         document.all[objSwap.idle].src =3D objSwap.srcHover;
  1382.     else if ( eventType =3D=3D TT_MOUSEOUT )
  1383.         document.all[objSwap.idle].src =3D objSwap.srcIdle;
  1384.     return;
  1385. }
  1386. function StopSwap( objSwap, fPause )
  1387. {
  1388.     if ( fPause )                        =09
  1389.         return;
  1390. }
  1391. var    PATH_PER_TICK =3D new Array(50,40,30,20,10);    =09
  1392. var    PE_STOP        =3D 0;                            =09
  1393. var    PE_AGAIN    =3D 1;                            =09
  1394. var    PE_REV        =3D 2;                            =09
  1395. var    PE_EXIT        =3D 3;                            =09
  1396. var    PD_FWD        =3D 1;
  1397. var    PD_BACK        =3D -1;
  1398. function Point( x, y, rate )
  1399. {
  1400.     this.x =3D x;
  1401.     this.y =3D y;
  1402.     this.rate =3D rate;
  1403. }
  1404. function Paths( delay, edgeEffect )
  1405. {
  1406. =09
  1407.     this.Initialize =3D InitializePathAnimation;
  1408.     this.Start =3D StartPathAnimation;
  1409.     this.Trigger =3D StartPathAnimation;
  1410.     this.Stop =3D StopPathAnimation;
  1411.     this.StopEverything =3D StopPathAnimation;
  1412. =09
  1413.     this.delay =3D delay;
  1414.     this.edgeEffect =3D edgeEffect;
  1415. }
  1416. function InitializePathAnimation( objPlayer, path )
  1417. {
  1418.     var    segment;                                =09
  1419.     var pathIndex;
  1420.     var totalDistance;                            =09
  1421.     var    distanceX;                                =09
  1422.     var    distanceY;
  1423.     var dx;                                        =09
  1424.     var    dy;
  1425.     var travelTime;                                =09
  1426.     var    remX;                                    =09
  1427.     var    remY;
  1428. =09
  1429.     if ( stProjState !=3D PS_UNINITIALIZED )
  1430.     {
  1431.         objPlayer.position.SetPosition( path[0].x, path[0].y );
  1432.         return;
  1433.     }
  1434.     path.objPlayer =3D objPlayer;                    =09
  1435.     halfWidth =3D Math.floor(objPlayer.HTML.offsetWidth/2);    =09
  1436.     halfHeight =3D Math.floor(objPlayer.HTML.offsetHeight/2);
  1437. =09
  1438. =09
  1439.     path[0].x -=3D halfWidth;
  1440.     path[0].y -=3D halfHeight;
  1441.     objPlayer.position.SetPosition( path[0].x, path[0].y );
  1442.     for ( pathIndex=3D0; path[pathIndex+1] !=3D null; pathIndex++ )=09
  1443.     {
  1444.         px =3D parseInt(pathIndex);                =09
  1445.         segment =3D path[px];                        =09
  1446.     =09
  1447.     =09
  1448.     =09
  1449.         path[px+1].x -=3D halfWidth;
  1450.         path[px+1].y -=3D halfHeight;
  1451.     =09
  1452.         distanceX =3D path[px+1].x - segment.x;    =09
  1453.         distanceY =3D path[px+1].y - segment.y;    =09
  1454.     =09
  1455.         totalDistance =3D Math.sqrt( (distanceX*distanceX) + =
  1456. (distanceY*distanceY) );
  1457.     =09
  1458.     =09
  1459.         travelTime =3D Math.round(totalDistance / =
  1460. PATH_PER_TICK[segment.rate]);
  1461.     =09
  1462.     =09
  1463.         if ( distanceX > 0 )                        =09
  1464.             dx =3D Math.floor( distanceX / travelTime );=09
  1465.         else if ( distanceX < 0 )                    =09
  1466.             dx =3D Math.ceil( distanceX / travelTime );=09
  1467.         else
  1468.             dx =3D 0;
  1469.     =09
  1470.     =09
  1471.     =09
  1472.     =09
  1473.         remX =3D distanceX % travelTime;
  1474.     =09
  1475.         if ( distanceY > 0 )                        =09
  1476.             dy =3D Math.floor( distanceY / travelTime );
  1477.         else if ( distanceY < 0 )
  1478.             dy =3D Math.ceil( distanceY / travelTime );
  1479.         else
  1480.             dy =3D 0;
  1481.         remY =3D distanceY % travelTime;
  1482.         segment.number =3D px;                        =09
  1483.         segment.ticks =3D 0;
  1484.         segment.travelTime =3D travelTime;
  1485.         segment.dx =3D dx;
  1486.         segment.dy =3D dy;
  1487.         segment.remX =3D remX;
  1488.         segment.remY =3D remY;
  1489.     }
  1490.     path.numSegs =3D parseInt(pathIndex);                =09
  1491.     path.dir =3D PD_FWD;                                        =09
  1492.     return;
  1493. }
  1494. function StartPathAnimation( path )
  1495. {
  1496.     path.currentSegment =3D path[0];    =09
  1497.     path.currentSegment.ticks =3D 0;    =09
  1498.     path.cntSegs =3D 0;                                =09
  1499. =09
  1500. =09
  1501.     if ( path.dir =3D=3D PD_BACK )                            =09
  1502.     {
  1503.         for ( var ii=3D0; ii<path.numSegs; ii++ )            =09
  1504.         {
  1505.             path[ii].dx *=3D -1;
  1506.             path[ii].dy *=3D -1;
  1507.             path[ii].remX *=3D -1;
  1508.             path[ii].remY *=3D -1;
  1509.         }
  1510.         path.dir =3D PD_FWD;                                =09
  1511.     }
  1512.     StartAnimationTimer( path, PathAnimationTick );
  1513. }
  1514. function StopPathAnimation( path, fPause )
  1515. {
  1516.     return;
  1517. }
  1518. function PathAnimationTick( path )
  1519. {
  1520.     var    objPlayer =3D path.objPlayer;            =09
  1521.     var segment =3D path.currentSegment;        =09
  1522.     var    currentPosition =3D objPlayer.position;=09
  1523.     if ( ++segment.ticks <=3D segment.travelTime )    =09
  1524.     {
  1525.         newX =3D currentPosition.x + segment.dx;        =09
  1526.         if ( segment.ticks <=3D Math.abs(segment.remX) )=09
  1527.             segment.remX > 0 ? newX++ : newX--;
  1528.         newY =3D currentPosition.y + segment.dy;        =09
  1529.         if ( segment.ticks <=3D Math.abs(segment.remY) )=09
  1530.             segment.remY > 0 ? newY++ : newY--;
  1531.         currentPosition.SetPosition( newX, newY );=09
  1532.         return false;                            =09
  1533.     }
  1534. =09
  1535. =09
  1536.     if ( ++path.cntSegs < path.numSegs )
  1537.     {
  1538.     =09
  1539.         path.currentSegment =3D path[segment.number+path.dir];    =09
  1540.         path.currentSegment.ticks =3D 0;                            =09
  1541.             =09
  1542.         return false;
  1543.     }
  1544.     =09
  1545. =09
  1546.     if            ( path.edgeEffect =3D=3D PE_AGAIN )    =09
  1547.     {
  1548.     =09
  1549.         objPlayer.position.SetPosition( path[0].x, path[0].y );
  1550.     =09
  1551.         path.currentSegment =3D path[0];                =09
  1552.         path.currentSegment.ticks =3D 0;                =09
  1553.         path.cntSegs =3D 0;                            =09
  1554.         return false;                                =09
  1555.     }                        =09
  1556.     else if        ( path.edgeEffect =3D=3D PE_REV )        =09
  1557.     {
  1558.         path.dir *=3D -1;                                =09
  1559.     =09
  1560.         for ( var ii=3D0; ii<path.numSegs; ii++ )
  1561.         {
  1562.             path[ii].dx *=3D -1;
  1563.             path[ii].dy *=3D -1;
  1564.             path[ii].remX *=3D -1;
  1565.             path[ii].remY *=3D -1;
  1566.         }
  1567.         path.currentSegment.ticks =3D 0;                =09
  1568.         path.cntSegs =3D 0;                            =09
  1569.         return false;
  1570.     }
  1571.     else if        ( path.edgeEffect =3D=3D PE_EXIT )
  1572.     {
  1573.         PlayerExit( objPlayer );
  1574.         return true;
  1575.     }
  1576.     else
  1577.         return true;                                =09
  1578. }
  1579. var    GROW_PER_TICK =3D new Array(20,14,8,4,1);    =09
  1580. function Size( zoom, rate )
  1581. {
  1582.     this.zoom =3D zoom;
  1583.     this.rate =3D rate;
  1584. }
  1585. function Grows( delay )
  1586. {
  1587. =09
  1588.     this.Initialize =3D InitializeGrowAnimation;
  1589.     this.Start =3D StartGrowAnimation;
  1590.     this.Trigger =3D StartGrowAnimation;
  1591.     this.Stop =3D StopGrowAnimation;
  1592.     this.StopEverything =3D StopGrowAnimation;
  1593. =09
  1594.     this.delay =3D delay;
  1595. }
  1596. function InitializeGrowAnimation( objPlayer, grow )
  1597. {
  1598.     if ( sys =3D=3D "Netscape" )
  1599.         return;
  1600.     var    child =3D objPlayer.HTML.children[0];                    =09
  1601.     var playerType =3D GetPlayerTypeFromName( objPlayer.name );=09
  1602. =09
  1603. =09
  1604. =09
  1605.     if ( stProjState =3D=3D PS_UNINITIALIZED )
  1606.     {
  1607.         grow.realWidth =3D child.width;
  1608.         grow.realHeight =3D child.height;
  1609.     }
  1610.     if ( (playerType =3D=3D PLAYER_TEXT) || sys =3D=3D "Netscape" )=09
  1611.     {
  1612.         grow =3D null;                                        =09
  1613.         return;
  1614.     }
  1615.     grow.objPlayer =3D objPlayer;                                =09
  1616. =09
  1617.     grow.currentSegment =3D grow[0];                            =09
  1618.     grow.currentGrowth =3D grow.currentSegment.zoom;            =09
  1619. =09
  1620. =09
  1621. =09
  1622.     child.width *=3D (grow.currentSegment.zoom / 100);        =09
  1623.     child.height *=3D (grow.currentSegment.zoom / 100);
  1624. =09
  1625.     for ( var growIndex=3D0; grow[growIndex] !=3D null; growIndex++ )=09
  1626.     {
  1627.         gx =3D parseInt(growIndex);                =09
  1628.         segment =3D grow[gx];                        =09
  1629.         if ( grow[gx+1] =3D=3D null )                =09
  1630.         {
  1631.             grow.finalSegment =3D grow[gx-1];        =09
  1632.             break;                                =09
  1633.         }
  1634.     =09
  1635.         growth =3D grow[gx+1].zoom - segment.zoom;                =09
  1636.         if ( growth >=3D 0 )                                        =09
  1637.             growthFactor =3D GROW_PER_TICK[segment.rate];            =09
  1638.         else
  1639.             growthFactor =3D -(GROW_PER_TICK[segment.rate]);
  1640.     =09
  1641.         growthTicks =3D growth / growthFactor;        =09
  1642.     =09
  1643.         segment.number =3D gx;                        =09
  1644.         segment.growth =3D growth;
  1645.         segment.growthFactor =3D growthFactor;
  1646.         segment.growthTicks =3D growthTicks;
  1647.         segment.currentTicks =3D 0;
  1648.     }
  1649. }
  1650. function StartGrowAnimation( grow )
  1651. {=09
  1652.     if ( sys =3D=3D "Netscape" )
  1653.         return;
  1654.     grow.currentSegment =3D grow[0];                        =09
  1655.     grow.currentTicks =3D 0;
  1656.     StartAnimationTimer( grow, GrowAnimationTick );
  1657. }
  1658. function StopGrowAnimation( grow, fPause )
  1659. {
  1660.     return;
  1661. }
  1662. function GrowAnimationTick( grow )
  1663. {
  1664.     if ( sys =3D=3D "Netscape" )
  1665.         return true;                                    =09
  1666.     var    objPlayer =3D grow.objPlayer;                        =09
  1667.     var    child =3D objPlayer.HTML.children[0];                =09
  1668.     var segment =3D grow.currentSegment;                    =09
  1669.     grow.currentGrowth +=3D segment.growthFactor;            =09
  1670.     child.width =3D grow.realWidth*(grow.currentGrowth/100);=09
  1671.     child.height =3D grow.realHeight*(grow.currentGrowth/100);
  1672.     if ( ++grow.currentTicks <=3D segment.growthTicks )    =09
  1673.         return false;                                    =09
  1674.     if ( grow.currentSegment =3D=3D grow.finalSegment )        =09
  1675.         return true;                                    =09
  1676.     grow.currentSegment =3D grow[ segment.number+1 ];        =09
  1677.     grow.currentTicks =3D 0;
  1678.     return false;                                        =09
  1679. }
  1680. function Timer()
  1681. {
  1682.     if ( Project.tickRate =3D=3D null )        =09
  1683.         this.tickRate =3D DEFAULT_TICK_RATE;
  1684.     else
  1685.         this.tickRate =3D Project.tickRate;
  1686.     this.oneShots =3D new Array();
  1687.     this.animations =3D new Array();
  1688.     this.tickCounter =3D 0;                        =09
  1689.     this.ticksPerSecond =3D 1000 / (this.tickRate);=09
  1690.     this.timerID =3D null;
  1691.     this.StartTicking =3D StartTicking;            =09
  1692.     this.StopTicking =3D StopTicking;
  1693. =09
  1694. }
  1695. function StartTicking()
  1696. {
  1697.     if ( this.timerID =3D=3D null )
  1698.         this.timerID =3D setInterval( "TimerTick()", this.tickRate );
  1699. }
  1700. function StopTicking()
  1701. {
  1702.     if ( this.timerID !=3D null )
  1703.         clearInterval( this.timerID );
  1704.     this.timerID =3D null;
  1705. }
  1706. function TimerTick()
  1707. {
  1708.     var timerEvent;
  1709. =09
  1710.     for ( var ii=3D0; ii<tickTimer.animations.length; ii++ )    =09
  1711.     {
  1712.         if ( (timerEvent=3DtickTimer.animations[ii]) =3D=3D null )=09
  1713.             continue;                                        =09
  1714.         if ( timerEvent.callback( timerEvent.callbackObj ) =3D=3D true )=09
  1715.             tickTimer.animations[ii] =3D null;                =09
  1716.     }
  1717. =09
  1718.     if ( (++tickTimer.tickCounter % tickTimer.ticksPerSecond) =3D=3D 0 )=09
  1719.     {
  1720.     =09
  1721.         var length =3D tickTimer.oneShots.length;                =09
  1722.         for ( var ii=3D0; ii<length && (tickTimer!=3Dnull); ii++ )=09
  1723.         {
  1724.             if ( (timerEvent=3DtickTimer.oneShots[ii]) =3D=3D null )=09
  1725.                 continue;                                    =09
  1726.         =09
  1727.             if ( timerEvent.time <=3D tickTimer.tickCounter )    =09
  1728.             {
  1729.                 tickTimer.oneShots[ii] =3D null;                =09
  1730.                 timerEvent.callback( timerEvent.callbackObj );=09
  1731.             }
  1732.         }
  1733.     }
  1734.     return;
  1735. }
  1736. function StartOneShotTimer( obj, time, callback, type )
  1737. {
  1738.     var    timerIndex;                                =09
  1739.     var timerEvent =3D new Object();                =09
  1740. =09
  1741.     timerEvent.callbackObj =3D obj;                =09
  1742.     timerEvent.callback =3D callback;                =09
  1743.     timerEvent.type =3D type;                        =09
  1744. =09
  1745. =09
  1746.     timerEvent.time =3D tickTimer.tickCounter + (time * =
  1747. tickTimer.ticksPerSecond);
  1748.     for ( timerIndex=3D0; tickTimer.oneShots[timerIndex]!=3Dnull; =
  1749. timerIndex++ );=09
  1750.     tickTimer.oneShots[timerIndex] =3D timerEvent;=09
  1751.     return;
  1752. }
  1753. function StartAnimationTimer( obj, callback )
  1754. {
  1755.     var timerIndex;=20
  1756.     timerEvent =3D new Object();
  1757.     timerEvent.callbackObj =3D obj;                =09
  1758.     timerEvent.callback =3D callback;                =09
  1759.     for ( timerIndex=3D0; tickTimer.animations[timerIndex]!=3Dnull; =
  1760. timerIndex++);=09
  1761.     tickTimer.animations[timerIndex] =3D timerEvent;
  1762. }
  1763. function StopSceneTimers()
  1764. {
  1765.     for (var ii=3D0; ii<tickTimer.oneShots.length; ii++)=09
  1766.     {
  1767.         if ( tickTimer.oneShots[ii] =3D=3D null )        =09
  1768.             continue;
  1769.         if ( tickTimer.oneShots[ii].type =3D=3D TMR_SCENE )
  1770.             tickTimer.oneShots[ii] =3D null;            =09
  1771.     }
  1772. =09
  1773.     for (var ii=3D0; ii<tickTimer.animations.length; ii++)
  1774.         tickTimer.animations[ii] =3D null;
  1775. }
  1776. =09
  1777. function KillTimer()
  1778. {
  1779.     if ( tickTimer !=3D null )                    =09
  1780.     {
  1781.         window.clearTimeout( tickTimer.timerID);=09
  1782.         tickTimer =3D null;                        =09
  1783.     }
  1784. }
  1785. function SetColor(el, color)=20
  1786. {
  1787.     if ( el.style =3D=3D null )                =09
  1788.         return;
  1789. =09
  1790.     el.style.backgroundColor =3D color;    =09
  1791.     if ("Netscape"=3D=3Dsys)=20
  1792.         el.NSLayer.bgColor =3D color;        =09
  1793. }
  1794. function SetZIndex(el, zindex)=20
  1795. {
  1796.     if ( el.style =3D=3D null )                =09
  1797.         return;
  1798. =09
  1799.     el.style.zIndex =3D zindex;            =09
  1800.     if ("Netscape"=3D=3Dsys)=20
  1801.         el.NSLayer.zIndex =3D zindex        =09
  1802. }
  1803. function SetVisibility(el, val)=20
  1804. {
  1805.     if ( el.style =3D=3D null )                =09
  1806.         return;
  1807.     el.style.visibility =3D val;            =09
  1808.        =20
  1809.     if ( "Netscape"=3D=3Dsys )                =09
  1810.     {
  1811.         if        ( val =3D=3D IE_HIDDEN )
  1812.             el.NSLayer.visibility =3D NAV_HIDDEN;
  1813.         else if ( val =3D=3D IE_VISIBLE )
  1814.             el.NSLayer.visibility =3D NAV_VISIBLE;
  1815.         else if ( val =3D=3D IE_INHERIT )
  1816.             el.NSLayer.visibility =3D NAV_INHERIT;
  1817.         else
  1818.             el.NSLayer.visibility =3D "";
  1819.     }
  1820. }
  1821. function Position( obj )
  1822. {
  1823.     this.object =3D obj;                        =09
  1824.     this.x =3D obj.HTML.style.pixelLeft;        =09
  1825.     this.y =3D obj.HTML.style.pixelTop;        =09
  1826.     this.SetPosition =3D SetPosition;
  1827. }
  1828. function SetPosition( newX, newY )=20
  1829. {
  1830.     var el =3D this.object.HTML;                =09
  1831.     if ( el.style =3D=3D null )                    =09
  1832.         return;
  1833.                 =09
  1834.     el.style.pixelTop =3D newY;    =09
  1835.     el.style.pixelLeft =3D newX;
  1836.     this.x =3D newX;                            =09
  1837.     this.y =3D newY;
  1838.     if ( "Netscape"=3D=3Dsys )                    =09
  1839.     {
  1840.         el.NSLayer.top =3D parseInt( newY );
  1841.         el.NSLayer.left =3D parseInt( newX );
  1842.         el.offsetTop =3D el.NSLayer.top;
  1843.         el.offsetLeft =3D el.NSLayer.left;
  1844.     }
  1845. }
  1846. function SetContent(el, content)=20
  1847. {
  1848.     if ( el.style =3D=3D null )                    =09
  1849.         return;
  1850.     if ( "Netscape"=3D=3Dsys )                    =09
  1851.     {
  1852.         el.NSLayer.document.open();            =09
  1853.         el.NSLayer.document.write(content);    =09
  1854.         el.NSLayer.document.close();        =09
  1855.     }
  1856.     else                                    =09
  1857.         el.innerHTML=3Dcontent;
  1858. }
  1859. function SetupButtons()
  1860. {
  1861.     var rtn =3D false;                    =09
  1862.     if ( document.all.Pause !=3D null )
  1863.     {
  1864.         document.all.Pause.onclick =3D Pause;
  1865.         strPause =3D document.all.Pause.value.split( '/' );
  1866.         document.all.Pause.value =3D strPause[0];
  1867.     }
  1868.     if (document.all.Stop !=3D null )
  1869.         document.all.Stop.onclick =3D Stop;
  1870.     if ( document.all.Forward !=3D null )
  1871.         document.all.Forward.onclick =3D Forward;
  1872.     if ( document.all.Backward !=3D null )
  1873.         document.all.Backward.onclick =3D Backward;
  1874.     if ( document.all.Webpage !=3D null )
  1875.         document.all.Webpage.onclick =3D GotoWebpage;
  1876.     if ( document.all.SceneStatus !=3D null )
  1877.         formStatus =3D document.all.SceneStatus;
  1878.     if ( document.all.Start !=3D null )
  1879.     {
  1880.         document.all.Start.onclick =3D Start;
  1881.         strPlay =3D document.all.Start.value.split( '/' );
  1882.         document.all.Start.value =3D strPlay[0];
  1883.         rtn =3D true;
  1884.     }
  1885.     else
  1886.         rtn =3D false;
  1887.     if ( document.all.NavigationButtons !=3D null )
  1888.         SetVisibility( document.all.NavigationButtons, IE_VISIBLE );
  1889.     return rtn;
  1890. }
  1891. function Start()
  1892. {
  1893.     if ( stNoInput )                                    =09
  1894.         return;
  1895.     if ( stButtons =3D=3D true )                            =09
  1896.     {
  1897.         document.all.Start.value =3D strPlay[1];
  1898.         if ( document.all.Pause !=3D null )
  1899.         {
  1900.             document.all.Pause.value =3D strPause[0];
  1901.         }
  1902.     }
  1903.     if            ( (stProjState =3D=3D PS_RUNNING) || (stProjState =3D=3D =
  1904. PS_PAUSED) )=09
  1905.     {
  1906.         ProjectShutdown();
  1907.         ProjectInitialize();
  1908.     }
  1909.     else if        ( stProjState !=3D PS_INITIALIZED )    =09
  1910.         ProjectInitialize();
  1911.     ProjectStart();                                    =09
  1912. }
  1913. function Pause()
  1914. {
  1915. =09
  1916.     if ( stProjState =3D=3D PS_PAUSED )                    =09
  1917.     {
  1918.         tickTimer.StartTicking();                    =09
  1919.         if ( document.all.Pause !=3D null )
  1920.         {
  1921.             document.all.Pause.value =3D strPause[0];
  1922.         }
  1923.         stProjState =3D PS_RUNNING;
  1924.         StatusChange();                                =09
  1925.     }
  1926.     else
  1927.     {
  1928.         if ( tickTimer !=3D null )                    =09
  1929.             tickTimer.StopTicking();                =09
  1930.         if    ( stProjState !=3D PS_RUNNING )            =09
  1931.             return;
  1932.         stProjState =3D PS_PAUSED;
  1933.         if ( document.all.Pause !=3D null )
  1934.         {
  1935.             document.all.Pause.value =3D strPause[1];
  1936.         }
  1937.         StopEverythingOnScenes( true );                =09
  1938.         StatusChange();                                =09
  1939.     }
  1940. }
  1941. function Stop()
  1942. {
  1943.     if ( stNoInput )                                    =09
  1944.         return;
  1945.     location.reload();
  1946. }
  1947. function Forward()
  1948. {
  1949.     if ( stNoInput )                                    =09
  1950.         return;
  1951. =09
  1952.     if ( stProjState !=3D PS_RUNNING )
  1953.         return;
  1954.     SceneExit( currentScene );                =09
  1955. }
  1956. function Backward()
  1957. {
  1958.     if ( stNoInput )                                    =09
  1959.         return;
  1960.     var nextScene;
  1961. =09
  1962. =09
  1963. =09
  1964.     if        ( stProjState =3D=3D PS_COMPLETE )
  1965.         nextScene =3D Project.stopScene;
  1966.     else if ( stProjState !=3D PS_RUNNING )
  1967.         return;
  1968.     else
  1969.         nextScene =3D (currentScene.number =3D=3D 0) ? 0 : currentScene.number =
  1970. - 1;
  1971.     ProjectShutdown();
  1972.     ProjectInitialize();
  1973.     ProjectStart( nextScene );            =09
  1974. }
  1975. function GotoWebpage()
  1976. {
  1977.     window.open( Project.webpage);                    =09
  1978. }
  1979. function StatusChange( )
  1980. {
  1981.     var        stsPage =3D null;                =09
  1982.     var        stsState =3D null;            =09
  1983.     if        ( stProjState =3D=3D PS_UNINITIALIZED )
  1984.     {
  1985.         stsState =3D "Initializing";
  1986.         stsPage =3D ""
  1987.     }
  1988.     else if ( stProjState =3D=3D PS_INITIALIZED )
  1989.     {
  1990.         stsState =3D "Ready";
  1991.         stsPage =3D "";
  1992.     }
  1993.     else if    ( stProjState =3D=3D PS_RUNNING )
  1994.     {
  1995.         stsState =3D "Playing";
  1996.         stsPage =3D (currentScene.number+1) + " / " + nScenes;
  1997.     }
  1998.     else if    ( stProjState =3D=3D PS_PAUSED )
  1999.         stsState =3D "Paused";
  2000.     else if    ( stProjState =3D=3D PS_COMPLETE )
  2001.         stsState =3D "Complete";
  2002. =09
  2003.     if ( (formStatus !=3D null) && (stsPage !=3D null) )
  2004.         formStatus.value =3D stsPage;
  2005. =09
  2006.     if ( stsState !=3D null )
  2007.         top.status =3D stsState;=20
  2008. }
  2009. function GetSceneFromNumber( sceneNum )
  2010. {
  2011.     return sceneArray[sceneNum];    =09
  2012. }
  2013. function GetPlayerFromName( playerName )
  2014. {
  2015.     var objPlayer;
  2016. =09
  2017. =09
  2018.     if ( (currentScene) && (currentScene.Players !=3Dnull) && ((objPlayer =
  2019. =3D currentScene.Players[playerName]) !=3D null) )                                                            =09
  2020.         return objPlayer;                    =09
  2021. =09
  2022.     var objScene;
  2023.     for ( sceneName in Scenes )                    =09
  2024.     {
  2025.         objScene =3D Scenes[sceneName];
  2026.         if ( objScene.Players !=3D null )
  2027.         {
  2028.             objPlayer =3D objScene.Players[playerName];
  2029.             if ( objPlayer !=3D null )
  2030.                 return objPlayer;                    =09
  2031.         }
  2032.     }=09
  2033.         =09
  2034.     return null;                                =09
  2035. }
  2036. function GetObjectTypeFromName( nameString )
  2037. {
  2038.     var type =3D nameString.substr(0,1);    =09
  2039.     if        ( type =3D=3D NAME_SCENE )        =09
  2040.         return OBJ_SCENE;
  2041.     else if    ( type =3D=3D NAME_PLAYER )        =09
  2042.         return OBJ_PLAYER;
  2043. }
  2044. function GetPlayerTypeFromName( nameString )
  2045. {
  2046.     var type =3D nameString.substr(1,1);    =09
  2047.     if        ( type =3D=3D PLAYER_NAME_IMAGE )    =09
  2048.         return PLAYER_IMAGE;
  2049.     else if    ( type =3D=3D PLAYER_NAME_DRAW )    =09
  2050.         return PLAYER_DRAW;
  2051.     else if    ( type =3D=3D PLAYER_NAME_TEXT )    =09
  2052.         return PLAYER_TEXT;
  2053. }
  2054. function resetGifAnimation()
  2055. {
  2056.     var temp =3D document.all["img1"].src;
  2057.     document.all["img1"].src =3D temp;
  2058. }
  2059. Project =3D new Project(50, 0, 0, 2, 1, 0, =
  2060. "http://home-publishing.com/SKU/V3Pub.asp");
  2061. Scenes =3D new Object();
  2062. Scenes.Sx1 =3D new Scene( 5 );
  2063. Scenes.Sx1.entryTrans =3D new Transition( -1, 2, 0, 0 );
  2064. Scenes.Sx1.Bhv =3D new Array();
  2065. Scenes.Sx1.Bhv[0] =3D new Sound( -1, -1, -1, 2, "AW38", =
  2066. "cid:00b201bdac23$c85fdb40$6e59389d@a-lingra.dns.microsoft.com" );
  2067. Scenes.Sx1.Players =3D new Object();
  2068. Scenes.Sx1.Players.PI4 =3D new Player( 0, -1 );
  2069. Scenes.Sx1.Players.PD18 =3D new Player( -1, -1 );
  2070. Scenes.Sx1.Players.PD18.entryTrans =3D new Transition( 14, 2, 0, 0 );
  2071. Scenes.Sx1.Players.PT21 =3D new Player( 1, -1 );
  2072. Scenes.Sx1.Players.PT21.entryTrans =3D new Transition( 6, 2, 0, 0 );
  2073. Scenes.Sx1.Players.PI26 =3D new Player( 0, -1 );
  2074. Scenes.Sx1.Players.PI28 =3D new Player( 0, -1 );
  2075. Scenes.Sx1.Players.PI30 =3D new Player( 0, -1 );
  2076.  
  2077. </SCRIPT>
  2078. =20
  2079. <DIV class=3DSoundElementsDiv id=3DSoundElementsDiv>  <BGSOUND =
  2080. id=3DAW38 soundsrc=20
  2081. =3D cid:00b201bdac23$c85fdb40$6e59389d@a-lingra.dns.microsoft.com> <IMG=20
  2082. src=3D""></DIV> =20
  2083. <DIV id=3DNavSoundElementsDiv> <EMBED hidden=3Dtrue id=3DAW38nav =
  2084. name=3DAW38nav=20
  2085. src=3Dcid:00b201bdac23$c85fdb40$6e59389d@a-lingra.dns.microsoft.com =
  2086. autostart =3D no=20
  2087. MASTERSOUND></DIV></BODY></HTML>
  2088.  
  2089. ------=_NextPart_001_160A_01BDBE60.A8C0FE00--
  2090.  
  2091. ------=_NextPart_000_1609_01BDBE60.A8C0FE00
  2092. Content-Type: image/gif
  2093. Content-Transfer-Encoding: base64
  2094. Content-ID: <160001bdbe9b$549aee90$ed5d389d@superwonker.dns.microsoft.com>
  2095. X-Content-Source: C:\TEMP\IMG2C2.GIF
  2096.  
  2097. R0lGODlhOgIgA/f/AP39/f///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2098. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2099. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2100. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2101. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2102. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2103. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2104. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2105. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2106. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2107. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2108. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2109. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2110. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP39/SH5BAEBAP8ALAAAAAA6AiAD
  2111. QAjSAAMIHEiwoMGDCBMqXMiwocOHECNKnEixosWLGDNq3Mixo8ePIEMi/CeypMmTKFOqXMmypcuX
  2112. MGMKJCmzps2bOHPq3MmzZ0uaPoMKHUq0qNGjSBMCTcq0qdOnUKNKnTm1qtWrWLNqvbh0q9evYMOK
  2113. 9dl1rNmzaNOqrVh2rdu3cON6bSu3rt27eHvSzcu3r9+/H/cCHky4sOGCgg8rXswYbuLGkCNLzvp4
  2114. suXLmItWzsy5s2eYmz+LHk26Y+jSqFOrZnh6tevXqVvDnk07s+zauHMvbb6tu7fvvrx/Cx/+Njjx
  2115. 48jDGk/OvHnV5c6jS0cKfbr16zyrY9/OHXT37+CJag9PvvzG8ebTq4+Ifr379wfbw5//Xj79++bt
  2116. 49//XT///9f5B+CAzglI4IHHGYjggr4pyOCDtTkI4YSuSUjhhaVoWYjhhp5pyOGHl3kI4oiQiUji
  2117. iYeZiOKKgKnI4ot5uQjjjHLJSOONa9mI445m6cjjj1/5COSQWAlJ5JFSGYnkkk0pyeSTRjkJ5ZRB
  2118. SUnllTpZieWWNWnJ5ZcueQnmmCmJSeaZIpmJ5ppRprHpZpBvxkmZnHQ+V+edUKmJ554j8elnlH8G
  2119. KpSegvJJaKF4HoponYouKmejjr4JaaRsTkopmpZeSmammoLJaadcfgoqlqKOSmWppkKJaqpMT67K
  2120. KpKuvkpkrLICSWutPN6KK4667kpjr77CCGywLA5LLIrGHktissqCyGyzHD4LLYbSTkthtdZCiG22
  2121. DG7LLYLefktguOICSG65/J2LLn5H6q5LX7vuwgdvvO7NS6969t6bn7615stveP7+25/ArAZM8HYG
  2122. HxygwqMmzLB0Dj9coMSaRkxxchZfnKDGkWbMsXAef9ygyIhGhkxybiafHKHKgabMMmwuv1yhzIbS
  2123. vGfMNqOGc86k7cyzaD7/3KHQjxIdZ9BGY4Z00pYtzbRkTj9dotSYUn1m1FYrhnXWhkNtzTVhXn/d
  2124. otihkr1l2GbzhXbaeK3Ntl1uv12j3KrS/WTcdruFd95q7c03Wn7/3aPgsxI+ZOCGg4V44nMxnqvj
  2125. Oy4ONnmRk98oeeV2Yi6s5ptzXqznn4OOrOijk76s6aej7qzqq7Mereuvw06t7LPTfq3tt+Oure67
  2126. 8zbere+/Aw+u8MMTP67xxyNvrvLLM5+u889Dz67001P/rvXXYy+v9ttzX6/334OPr/jjk7+v+eVL
  2127. XY5+muuTp377gcEP3vvyc0R//Rrdjz9G+u9vUf/+owgAAyiRARIQIgY8oEMSqEDWNDA6DHygUiTY
  2128. nAhS0CAWvCBBMqhBqnSQOBzsOmAINTjCC5aQgieUYAofuMIGtlCBLzxgDAk4wwDW0H833F8O8bfD
  2129. +vVQfj+EXxDbN8T1FRF9RzRfEsk6t0TxNRF8T/ReFLk3Re1VEXtXtF4WqbdF6XURel90XhiZN0bl
  2130. lRF5ZzReGom3RuG1EXhv9F0ceTdH3TrVEXd3tF0eabdH2fURdn90XSBZN0jVFRJ1hzRdIkm3SNE1
  2131. EnSP9FwkOTdJzVUSc5esXCYnt0nIddJxOZ9kXCgTN0rDlZJwpxRcKv+2Sr61Mm+vtFss6TZLudXy
  2132. bbdkWy7Ttkuz9ZJsvxRbML82TK4VM2vHtDpaMqm2TKk182nPZFo0kzZNo1WTaNcUWjZ/tk2edTNn
  2133. 37RZOGk2TpmV82XnZFk6VbbOk7WTZO8UWTw/OjZPjtVTY/e8WD4ptk+J9fNh/2RYQBU20IMVlGAH
  2134. FVhC/7VQfjVUXw+9V0TpNdF4VdRdF11XRtG10XI4dVRcH/1WSLk10myV1FonnVZKobXSZrVUWS89
  2135. VkyJNdNg1dRXN91VTnG10359EIQ/HU5PZTXUVxU6tWBBBVlSf3PUVDXVVE9t2FJHNlXdRBVUV+1U
  2136. VitWVat2FWVfxc1WLzVWSpW1Y2FdWVpnc1ZHtXVRbzot2VrZOleY1fU1cS1UXgW115bddWZ/VU1f
  2137. /zRYPxW2ZoGNTWIVu9gMNdaxjx3NYW8WWclWFmiX/cxkOROV2aF1ljObvVNoGfVZ0JbWNqdVWmpD
  2138. tNqmtXYyo6VTbIv22sjM9mi1tW1up7ZbxtxWUr31bXB3MzpcrRU3RcftWnIL81s3NbdSywVbdAfz
  2139. 3DVVt2rT/ct1r5Zd7XbXL9vd1HeBM161lTdG521beu8S3jG1O9dT64VbfOvy3i/Vt2zzjct9z5Zf
  2140. /fbXMf8tToD1NuAcFbhvB07LfkmVYMA1+CwLvlKET/XgwVVYLBOeOVKG63Zh5XTYwx+GU4gbN+Kt
  2141. bPhuJTZxirVy4lateE4vvkqLlzRjWMVYxje2So2PtOPC5XgqPT7cjzmBPOQkFTkqQbbVkfO05Kck
  2142. +UdPflyTmzRlKlc5KVGO3JWxvGXqdPkoWebVlwE1ZvGU2cxnHlSa1bw8ZrK02c1vzk6c5TznLNXZ
  2143. znfGSZgtl2c99/kme/7Vn20S6BkVunODjsmhX7To0CXaO4+GdKTDNOmXNHpFOJcuXaVZkukTdTp1
  2144. m17Jp0c06taFWiWl/lCqY3fqMrUa1a92daxPsuoN1bp2sy7JrS+069zlmn2/OgZ2sEHS6wkVu3fD
  2145. jl+ylb3sNjXb2c8+T7TtN21pVzsjx35QtoN3ba50m3/f9na42TJucpd7ItteULo5i3du9rS7gO92
  2146. d7wfsu4D1Tt5827IvQe07+bl24H/BnjAFdLv/xQ8egOfYMIVvvD4NLxPD8dgxCU+LvENVtziF/dg
  2147. xg++H45Xb+MZ1/jFPX4fkmcP5CE3+XxU3j2Uu3zkIQ8Ay+sT85klh+/lFbf5enRePpxPnOfpAfr5
  2148. fB5xoaev5khPedKJ/nCju2/pMCFXutSZ3nCnAwzqOcf6z7VedK433etVB/vCrT4/sSec7AMkm3rU
  2149. qT52sw8c7d2BO3fkjjC3B5zu2MH7wtSedb5v3e9dB/zXJQUfdsK33fBnt/u/9W4dxk/H8RBTfL4h
  2150. D0HJz5vyE0P82y0fb8wmV5Dz7/Y8c0SPMdC3m/TIQf3GNH93059b9UBl/eJdX27YC5X247YkvVJl
  2151. P3nch1v3TPX9t4FPVbYnnveXF363id8b5nsV+Z1X/rWdJA9W6Ide+tWmvlixP23tq9X4m7f+6bkf
  2152. be/Txvx0Ff/ryf9s9CXbVf21Z3+z3Y9X+S+b/oAFf+vhn3v7Jxv/qwGAguV/wyaAjKV/OLOXcv+w
  2153. gAzYgA74gBAYgRI4gRRYgRZ4gRiYgRq4gRzYgR74gSAYgiI4giRYgiZ4giiYgioogQEBADs=
  2154.  
  2155. ------=_NextPart_000_1609_01BDBE60.A8C0FE00
  2156. Content-Type: image/gif
  2157. Content-Transfer-Encoding: 7bit
  2158. Content-ID: <00af01bdac23$8c974a80$6e59389d@a-lingra.dns.microsoft.com>
  2159. X-Content-Source: C:\mmeditor\v3grafix\j0107980.wmf
  2160. X-Global-Moniker: :HOMEPREM\MAIN\HMPRDIR2\J0107980.WMF
  2161.  
  2162.  
  2163. ------=_NextPart_000_1609_01BDBE60.A8C0FE00
  2164. Content-Type: image/gif
  2165. Content-Transfer-Encoding: base64
  2166. Content-ID: <000901bda208$14ef3120$6e59389d@a-lingra.dns.microsoft.com>
  2167. X-Content-Source: C:\WINDOWS\TEMP\IMGD111.GIF
  2168.  
  2169. R0lGODlhFwKvAvcAAP+ZzP39/QAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2170. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2171. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2172. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2173. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2174. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2175. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2176. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2177. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2178. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2179. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2180. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2181. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2182. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAAAEALAAAAAAXAq8C
  2183. QAjTAAEIHEiwoMGDCBMqXMiwocOHECNKnEixosWLGDNq3Mixo8ePIAsGCBCypMmTKFOqXMmypcuX
  2184. MDWOjEmzps2bOHPq3MmT48yeQIMKHUq0qNGeP48qXcq0qdOnRZNCnUq1qtWrWBlKzcq1q9evYGNu
  2185. DUu2rNmzaBOOTcu2rdu3TNfCnUu3rl2Wcu/q3cu378O8fgMLHlwXMOHDiBN7Nay4sePHRxlDnky5
  2186. Mk3JljNr3uwRM+fPoEM39Cy6tOnQpE+rXj05NevXsAe7jk27dmGStnPrDnE8e7fv31x7Ax9O3Knw
  2187. 4siTCz2uvLlzm8yfS5+uMjr169g7Ws/OvfvE7d7Di1eLe7z58xjBo1/PXT3799Pdw5+vXD79+8Pt
  2188. 49+vWz///7H5B+CAqglI4IGolYfggs4ZyOCDlDkI4YSNSUjhhYRZiOGGfW1pyOGHdnkI4ohviUji
  2189. iWiZiOKKYanI4ovBKQjjjBXKSOONGdqI444d6sjjjyH6COSQJQpJ5JEpGonkki0qyeSTMUIpZVku
  2190. TmllSlVeqWVIWW7ppU9OfilmUF2OaeZ3YZ6pJnRprunmS2W+KadBU3HOaScAdd4pZ556uslnn2r+
  2191. CaiZgg4qZqGGeoloolouyqiVjj4qZaSSPklppUteiumRmm46ZKee/ghqqDuOSuqNpp46Y6qqvshq
  2192. qyu+CuuJss46U2Kttn6Ia64b7srrhb7+OmGwwj5IbLELHovsgcouO2Czzv4HbbT7TUvtfdZeO1+2
  2193. 2r7HbbfrfQvueeKOO1655oaHbrrdrctudu6+e1288sbXZr1jUtKLb4P37qtov/42CnDAkA5M8KQG
  2194. H2xpwgpnynDDnD4M8acSTyxqxRaXinHGqG7M8aoef+xqyCLHSnLJtJ6M8q0qr6xryy73CnPMwM5M
  2195. 87A232xPbM46J8tzz8z+DPSzQg8tbdFGV4t00tguzfS2Tj/tbdRSh0t11eRejfW5Wm+tbtdetwt2
  2196. 2PCOTfa8Zp9tr9o06su2Y26/rVjcciNGd9054m9tst4o3s23X37/zVfggutFeOFBIv6y4hwezjhc
  2197. jj/uVuSSs0V55UlijrPmEF7OOVmefw5W6KIvlnbpq42k+uqst+7667DHLvvstNdu++2456777rz3
  2198. 7vvvwAcv/PDEF2/88bGjHrTyBJLO/FXOP19RVfTST0V99U9dj31T2m+/VPfeR3Z6+JqBTz5R5p+/
  2199. 3PjqR8h++5ClDz9P8s+vU/3244R//mzyz7X/4tkfAGEiwAG6pIAGxMv7EsibBTKwRw/EVw4CI3iS
  2200. CVKwJBa8IEgyqMHOOLCDdOEgCDciwhFmpIQmvAgKU1iRFbIQTS8sjgtjCJEZ0tAhNryhVj6oQyrx
  2201. sIdNAuJucijEgxCxiCL5IRKjtETaHLGJeD5SIhSt8sQmVnGJV0RiFou4RSF2EYhf7GEYdTjGG5aR
  2202. hmeMYRpfuEYWtjGFbzRhHEc4RxDWsYN31GAeL7hHCjz2MYJ/fGAgGTjIBBbSgIccYCIBuEj/NZJ/
  2203. j8xfJO03yflVEn6XbF8m1bfJ83WSfJ8MXyi9N8rtlRJ7p6w9Xiqlt8rntZJ5r1ReLFE3y9LVUnS3
  2204. /FwuObdLzfUSc7+sXDAlN8zHFZNxx1RcMhG3zMI1U3DP/Fs0+TZNvTxVE2/XrFs25bbNt3WTbd9U
  2205. WzjPNk6ylTNs5/RaOre2Tqy1s2rvlFo8nzZPptUzafc0Wj6Htk+g9bNn/9Q9WUBvNlCaFTRmB3VZ
  2206. Qle2UJQ1tGQPFVlEPzZRjlU0Yxe1WEYntlGIdbRhH1VYSA82UoKVNGAn9VdK97VSfE21tF4vlVdM
  2207. 3zVTdtU0XTc1V07HtVNw9bRbP9VWUK81VGoVNVrIS6pSl8rUpjr1qVCNqlSnStXiTRE2R3VWVpe1
  2208. VWR1tVhfFVZYfzVWXjyVNVdntVVaZ7VWWLW1VW9VVVxPNVdS1TVUd/VUXje1V0z1tVJ/lVRgHzVY
  2209. RhU2UYc1VGIHtVhANbZPj9VLU2TvNFk7VXZOl92TFK9qvc1yNnue/Sz3Qiva75G2tOJDrWky+ybW
  2210. +um0qkUfbGO7PtomyLagce2adBuo2eKWfr797f2CK1z9Ebe4Tv1DrmV4eybmEuq4yhULdKMLp+lS
  2211. tyXOzZd1r7uS7B5qu9zFEnjDW8HxkheD5j3vBtOrXg+2NzHe/VJ8//Veu7G3vjK5L37To9/9WmS+
  2212. W0UCsMD8KxgBX8nABSNwAxUMuP4yOCIInlKEEfbgwTm4wji8MIZ3uOG7TBhKH15YhxM34hBquMRG
  2213. PDGKk7hiyKm4xQIJMZM8ZOwwGE/uxTCmMZJ0HDEbt4XHRAIyxXxsORy3WMhAQvLFiJwWJfPIyRpj
  2214. cuakbBYo48jKHaNylY28Yiy3PY3LKPYyyLTsQzKDDswlFjOM1DwyMwfRzV9hM4vkvDc4m87Od8Yz
  2215. E/WMFTr3Dc0j9nPK+JwVQZPI0CwjdJ88Ad1hRIPI0YtTNBUZvWFIN47SGLa0zCQ9aU5PD9MV1jSG
  2216. RF0zT1OF1BRC9eZMDRVVdw7UD3b1zljdalgzO1jWDMK1z2gNWl4bx9YK1jWChL08X8cF2AQmdvOQ
  2217. 7V9lE83Yx4a2aaWtFGcDyNpHo3ZqtR0VZu8X2/wBPbfSuN1tcsvW3EMRN37U3TR019bdQGE3feQN
  2218. NXjH29v4pTd89D01eyMF3/XlN3sEbjV/A9fgOyE4ehSeNYQ+D9fhOWG4eST+P4jfhOIBBPh7Mf41
  2219. i19c4+3luHdELjaPJ9fk0kX5ZUCuXpK3h+XndXnZVJ5ymlfX5jfHOXY8YU5emUuQ5+H1Odp0vnOi
  2220. K9Do3QU6d4VOHaavDenihXrUpV5eqlfd6ujFeta1vl6ud93r7gW7dpR+XadLPcfsz0E7v8Q+draD
  2221. ye0kJDt11d4cutdH7tG1e3L0jhy+yxDvyvU7cQSfH8Ajl/DAQfxvFO8bxg/R8MV1fH87IC9cyefG
  2222. 8rbBfG0070TK/5bzAfI8bkGPVdHblvSvQT1rVJ8609OW9QVyfWxhfxrar1b2qrV9aXQvGt4+3xbu
  2223. J8Q9an2fW+GXlvifQT5nlL8Z5pfP+KJ1fmakv1zof5b6lcG++4AffO7z1/sqtD5ntd8a8V+V/PEz
  2224. /xQ/0f8Y9sNN/VB0f43A/1/4W9H+WMS/FvXPRf570f9gBIBiJIBkRIBmZIBohIBqpIBsxIBu5IBw
  2225. BIFyJIF0RIF2H2SBeISBeqSBfMSBflRVIBiCIjiCJFiCJniCKGg8AQEAOw==
  2226.  
  2227. ------=_NextPart_000_1609_01BDBE60.A8C0FE00
  2228. Content-Type: audio/midi
  2229. Content-Transfer-Encoding: 7bit
  2230. Content-ID: <00b201bdac23$c85fdb40$6e59389d@a-lingra.dns.microsoft.com>
  2231. X-Content-Source: C:\mmeditor\music\Sn00508_.mid
  2232. X-Global-Moniker: :HOMESNMM\MAIN\SN00508_.MID
  2233.  
  2234.  
  2235. ------=_NextPart_000_1609_01BDBE60.A8C0FE00
  2236. Content-Type: application/x-font
  2237. Content-Transfer-Encoding: 7bit
  2238. Content-ID: <160701bdbe9b$55076c00$ed5d389d@superwonker.dns.microsoft.com>
  2239. X-Content-Source: Curlz MT.eot
  2240.  
  2241.  
  2242. ------=_NextPart_000_1609_01BDBE60.A8C0FE00--
  2243.